fix:set log level to 135 for some cases

This commit is contained in:
wangmm0220 2024-01-31 17:10:31 +08:00
parent f546184a7c
commit 74561a66c3
4 changed files with 9 additions and 5 deletions

View File

@ -230,6 +230,7 @@ fi
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/tmqSubscribeStb-r3.py -N 5
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/tmq3mnodeSwitch.py -N 6 -M 3 -i True
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/tmq3mnodeSwitch.py -N 6 -M 3 -n 3 -i True
,,y,system-test,./pytest.sh python3 test.py -f 7-tmq/tmqVnodeTransform.py -N 2 -n 1
,,y,system-test,./pytest.sh python3 test.py -f 7-tmq/tmqVnodeTransform-stb.py -N 2 -n 1
,,y,system-test,./pytest.sh python3 test.py -f 7-tmq/tmqVnodeTransform-stb.py -N 6 -n 3
#,,y,system-test,./pytest.sh python3 test.py -f 7-tmq/tmqVnodeTransform-db.py -N 6 -n 3

View File

@ -12,7 +12,8 @@ sys.path.append("./7-tmq")
from tmqCommon import *
class TDTestCase:
# updatecfgDict = {'debugFlag': 135}
clientCfgDict = {'debugFlag': 135}
updatecfgDict = {'debugFlag': 135, 'clientCfg':clientCfgDict}
def __init__(self):
self.vgroups = 2

View File

@ -11,7 +11,9 @@ sys.path.append("./7-tmq")
from tmqCommon import *
class TDTestCase:
updatecfgDict = {'debugFlag': 135}
clientCfgDict = {'debugFlag': 135}
updatecfgDict = {'debugFlag': 135, 'clientCfg':clientCfgDict}
def init(self, conn, logSql, replicaVar=1):
self.replicaVar = int(replicaVar)
tdLog.debug(f"start to excute {__file__}")

View File

@ -186,7 +186,7 @@ class TDTestCase:
tmqCom.getStartCommitNotifyFromTmqsim()
#restart dnode & remove wal
# self.restartAndRemoveWal()
self.restartAndRemoveWal()
# redistribute vgroup
self.redistributeVgroups();
@ -235,7 +235,7 @@ class TDTestCase:
tdSql.execute(sqlString)
tdSql.query("flush database %s"%(paraDict['dbName']))
#restart dnode & remove wal
# self.restartAndRemoveWal()
self.restartAndRemoveWal()
# redistribute vgroup
self.redistributeVgroups();
@ -313,7 +313,7 @@ class TDTestCase:
time.sleep(5)
#restart dnode & remove wal
# self.restartAndRemoveWal()
self.restartAndRemoveWal()
# redistribute vgroup
self.redistributeVgroups()