coverage: remove tglobal.c client no use option

This commit is contained in:
Alex Duan 2024-02-18 21:20:02 +08:00
parent 6dec22c1c2
commit 85bfc7ceb4
2 changed files with 5 additions and 16 deletions

View File

@ -1601,10 +1601,6 @@ static int32_t taosCfgDynamicOptionsForClient(SConfig *pCfg, char *name) {
tsTempSpace.reserved = (int64_t)(((double)pItem->fval) * 1024 * 1024 * 1024);
uInfo("%s set to %" PRId64, name, tsTempSpace.reserved);
matched = true;
} else if (strcasecmp("minimalDataDirGB", name) == 0) {
tsDataSpace.reserved = (int64_t)(((double)pItem->fval) * 1024 * 1024 * 1024);
uInfo("%s set to %" PRId64, name, tsDataSpace.reserved);
matched = true;
} else if (strcasecmp("minimalLogDirGB", name) == 0) {
tsLogSpace.reserved = (int64_t)(((double)pItem->fval) * 1024 * 1024 * 1024);
uInfo("%s set to %" PRId64, name, tsLogSpace.reserved);
@ -1675,10 +1671,6 @@ static int32_t taosCfgDynamicOptionsForClient(SConfig *pCfg, char *name) {
return -1;
}
matched = true;
} else if (strcasecmp("telemetryServer", name) == 0) {
uInfo("%s set from %s to %s", name, pItem->str, tsTelemServer);
tstrncpy(tsTelemServer, pItem->str, TSDB_FQDN_LEN);
matched = true;
}
break;
}

View File

@ -31,11 +31,10 @@ class TDTestCase(TBase):
'queryMaxConcurrentTables': '2K',
'streamMax': '1M',
'totalMemoryKB': '1G',
#'rpcQueueMemoryAllowed': '1T',
#'mndLogRetention': '1P',
'streamBufferSize':'2G',
'slowLogScope':"invalid"
}
'streamMax': '1P',
'streamBufferSize':'1T',
'slowLogScope':"query"
}
def insertData(self):
tdLog.info(f"insert data.")
@ -64,7 +63,6 @@ class TDTestCase(TBase):
"locale ENG",
"metaCacheMaxSize 10000",
"minimalTmpDirGB 5",
"minimalDataDirGB 4",
"minimalLogDirGB 1",
"secondEp 127.0.0.2",
"smlChildTableName smltbname",
@ -74,8 +72,7 @@ class TDTestCase(TBase):
"serverPort 6030",
"slowLogScope insert",
"timezone tz",
"tempDir /var/tmp",
"telemetryServer telserver"
"tempDir /var/tmp"
]
# exec
for option in options: