From 85bfc7ceb4f75409b706fc549dac99ac4ae96b64 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sun, 18 Feb 2024 21:20:02 +0800 Subject: [PATCH] coverage: remove tglobal.c client no use option --- source/common/src/tglobal.c | 8 -------- tests/army/community/cmdline/fullopt.py | 13 +++++-------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 444a4c0ccc..9ddf22ca49 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -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; } diff --git a/tests/army/community/cmdline/fullopt.py b/tests/army/community/cmdline/fullopt.py index 68b8f8ea01..0a870c52b5 100644 --- a/tests/army/community/cmdline/fullopt.py +++ b/tests/army/community/cmdline/fullopt.py @@ -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: