test: adjust debugflag

This commit is contained in:
Shengliang Guan 2022-05-13 16:01:05 +08:00
parent 53b031f262
commit eebd3f0f0f
2 changed files with 21 additions and 32 deletions

View File

@ -30,17 +30,12 @@ class TDSimClient:
"locale": "en_US.UTF-8", "locale": "en_US.UTF-8",
"charset": "UTF-8", "charset": "UTF-8",
"asyncLog": "0", "asyncLog": "0",
"minTablesPerVnode": "4", "rpcDebugFlag": "143",
"maxTablesPerVnode": "1000",
"tableIncStepPerVnode": "10000",
"maxVgroupsPerDb": "1000",
"sdbDebugFlag": "143",
"rpcDebugFlag": "135",
"tmrDebugFlag": "131", "tmrDebugFlag": "131",
"cDebugFlag": "135", "cDebugFlag": "143",
"udebugFlag": "135", "udebugFlag": "143",
"jnidebugFlag": "135", "jnidebugFlag": "143",
"qdebugFlag": "135", "qdebugFlag": "143",
"telemetryReporting": "0", "telemetryReporting": "0",
} }
@ -115,36 +110,29 @@ class TDDnode:
self.testCluster = False self.testCluster = False
self.valgrind = 0 self.valgrind = 0
self.cfgDict = { self.cfgDict = {
"numOfLogLines": "100000000",
"mnodeEqualVnodeNum": "0",
"walLevel": "2", "walLevel": "2",
"fsync": "1000", "fsync": "1000",
"statusInterval": "1",
"numOfMnodes": "3",
"numOfThreadsPerCore": "2.0",
"monitor": "0", "monitor": "0",
"maxVnodeConnections": "30000",
"maxMgmtConnections": "30000",
"maxMeterConnections": "30000",
"maxShellConns": "30000", "maxShellConns": "30000",
"locale": "en_US.UTF-8", "locale": "en_US.UTF-8",
"charset": "UTF-8", "charset": "UTF-8",
"asyncLog": "0", "asyncLog": "0",
"anyIp": "0", "mDebugFlag": "143",
"telemetryReporting": "0", "dDebugFlag": "143",
"dDebugFlag": "135", "vDebugFlag": "143",
"tsdbDebugFlag": "135", "tqDebugFlag": "143",
"mDebugFlag": "135", "cDebugFlag": "143",
"sdbDebugFlag": "135", "jniDebugFlag": "143",
"rpcDebugFlag": "135", "qDebugFlag": "143",
"rpcDebugFlag": "143",
"tmrDebugFlag": "131", "tmrDebugFlag": "131",
"cDebugFlag": "135", "uDebugFlag": "143",
"httpDebugFlag": "135", "sDebugFlag": "135",
"monitorDebugFlag": "135", "wDebugFlag": "143",
"udebugFlag": "135", "qdebugFlag": "143",
"jnidebugFlag": "135", "numOfLogLines": "100000000",
"qdebugFlag": "135", "statusInterval": "1",
"maxSQLLength": "1048576" "telemetryReporting": "0"
} }
def init(self, path): def init(self, path):

View File

@ -143,5 +143,6 @@ echo "statusInterval 1" >> $TAOS_CFG
echo "asyncLog 0" >> $TAOS_CFG echo "asyncLog 0" >> $TAOS_CFG
echo "locale en_US.UTF-8" >> $TAOS_CFG echo "locale en_US.UTF-8" >> $TAOS_CFG
echo "telemetryReporting 0" >> $TAOS_CFG echo "telemetryReporting 0" >> $TAOS_CFG
echo "numOfRpcThreads 2" >> $TAOS_CFG
echo "multiProcess ${MULTIPROCESS}" >> $TAOS_CFG echo "multiProcess ${MULTIPROCESS}" >> $TAOS_CFG
echo " " >> $TAOS_CFG echo " " >> $TAOS_CFG