Merge pull request #22895 from taosdata/test/3.0/TD-26290

test:increase timeout of win testcase
This commit is contained in:
Alex Duan 2023-09-15 10:08:05 +08:00 committed by GitHub
commit cf7cc6b2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 10 deletions

View File

@ -161,8 +161,8 @@
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/raw_block_interface_test.py ,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/raw_block_interface_test.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py ,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py
,,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/tmqSubscribeStb-r3.py -N 5
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/tmq3mnodeSwitch.py -N 6 -M 3 ,,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 ,,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 99-TDcase/TD-19201.py ,,y,system-test,./pytest.sh python3 ./test.py -f 99-TDcase/TD-19201.py
,,y,system-test,./pytest.sh python3 ./test.py -f 99-TDcase/TD-21561.py ,,y,system-test,./pytest.sh python3 ./test.py -f 99-TDcase/TD-21561.py
,,y,system-test,./pytest.sh python3 ./test.py -f 99-TDcase/TS-3404.py ,,y,system-test,./pytest.sh python3 ./test.py -f 99-TDcase/TS-3404.py
@ -825,7 +825,7 @@
,,y,script,./test.sh -f tsim/dnode/balance3.sim ,,y,script,./test.sh -f tsim/dnode/balance3.sim
,,y,script,./test.sh -f tsim/vnode/replica3_many.sim ,,y,script,./test.sh -f tsim/vnode/replica3_many.sim
,,y,script,./test.sh -f tsim/stable/metrics_idx.sim ,,y,script,./test.sh -f tsim/stable/metrics_idx.sim
,,y,script,./test.sh -f tsim/db/alter_replica_13.sim # ,,y,script,./test.sh -f tsim/db/alter_replica_13.sim
,,y,script,./test.sh -f tsim/sync/3Replica1VgElect.sim ,,y,script,./test.sh -f tsim/sync/3Replica1VgElect.sim
,,y,script,./test.sh -f tsim/sync/3Replica5VgElect.sim ,,y,script,./test.sh -f tsim/sync/3Replica5VgElect.sim
,,n,script,./test.sh -f tsim/valgrind/checkError6.sim ,,n,script,./test.sh -f tsim/valgrind/checkError6.sim
@ -839,7 +839,7 @@
,,y,script,./test.sh -f tsim/user/privilege_table.sim ,,y,script,./test.sh -f tsim/user/privilege_table.sim
,,y,script,./test.sh -f tsim/user/privilege_create_db.sim ,,y,script,./test.sh -f tsim/user/privilege_create_db.sim
,,y,script,./test.sh -f tsim/db/alter_option.sim ,,y,script,./test.sh -f tsim/db/alter_option.sim
,,y,script,./test.sh -f tsim/db/alter_replica_31.sim # ,,y,script,./test.sh -f tsim/db/alter_replica_31.sim
,,y,script,./test.sh -f tsim/db/basic1.sim ,,y,script,./test.sh -f tsim/db/basic1.sim
,,y,script,./test.sh -f tsim/db/basic2.sim ,,y,script,./test.sh -f tsim/db/basic2.sim
,,y,script,./test.sh -f tsim/db/basic3.sim ,,y,script,./test.sh -f tsim/db/basic3.sim

View File

@ -67,7 +67,7 @@ set "FILE_NAME=testSuite.sim"
if "%1" == "-f" set "FILE_NAME=%2" if "%1" == "-f" set "FILE_NAME=%2"
set FILE_NAME=%FILE_NAME:/=\% set FILE_NAME=%FILE_NAME:/=\%
start cmd /k "timeout /t 600 /NOBREAK && taskkill /f /im tsim.exe & exit /b" start cmd /k "timeout /t 800 /NOBREAK && taskkill /f /im tsim.exe & exit /b"
rem echo FILE_NAME: %FILE_NAME% rem echo FILE_NAME: %FILE_NAME%
echo ExcuteCmd: %tsim% -c %CFG_DIR% -f %FILE_NAME% echo ExcuteCmd: %tsim% -c %CFG_DIR% -f %FILE_NAME%

View File

@ -166,22 +166,23 @@ class TDTestCase:
nodePort = 6030 + i*100 nodePort = 6030 + i*100
newTdSql=tdCom.newTdSql(port=nodePort) newTdSql=tdCom.newTdSql(port=nodePort)
tdDnodes[1].stoptaosd()
dataPath = tdDnodes[1].dataDir dataPath = tdDnodes[1].dataDir
os.system(f"rm -rf {dataPath}/*") os.system(f"rm -rf {dataPath}/*")
os.system(f"rm -rf {dataPath}/.runing") os.system(f"rm -rf {dataPath}/.runing")
tdDnodes[1].stoptaosd()
tdDnodes[1].starttaosd() tdDnodes[1].starttaosd()
sleep(5) sleep(5)
for i in range(6): for i in range(6):
nodePort = 6030 + i*100 nodePort = 6030 + i*100
newTdSql=tdCom.newTdSql(port=nodePort) newTdSql=tdCom.newTdSql(port=nodePort)
tdDnodes[0].stoptaosd()
dataPath = tdDnodes[0].dataDir dataPath = tdDnodes[0].dataDir
os.system(f"rm -rf {dataPath}/*") os.system(f"rm -rf {dataPath}/*")
os.system(f"rm -rf {dataPath}/.runing") os.system(f"rm -rf {dataPath}/.runing")
tdDnodes[0].stoptaosd()
tdDnodes[0].starttaosd() tdDnodes[0].starttaosd()
sleep(5) sleep(5)
for i in range(6): for i in range(6):

View File

@ -109,7 +109,7 @@ if __name__ == "__main__":
websocket = False websocket = False
replicaVar = 1 replicaVar = 1
asan = False asan = False
independentMnode = True independentMnode = False
previousCluster = False previousCluster = False
opts, args = getopt.gnu_getopt(sys.argv[1:], 'f:p:m:l:scghrd:k:e:N:M:Q:C:RWD:n:i:aP', [ opts, args = getopt.gnu_getopt(sys.argv[1:], 'f:p:m:l:scghrd:k:e:N:M:Q:C:RWD:n:i:aP', [
'file=', 'path=', 'master', 'logSql', 'stop', 'cluster', 'valgrind', 'help', 'restart', 'updateCfgDict', 'killv', 'execCmd','dnodeNums','mnodeNums','queryPolicy','createDnodeNums','restful','websocket','adaptercfgupdate','replicaVar','independentMnode','previous']) 'file=', 'path=', 'master', 'logSql', 'stop', 'cluster', 'valgrind', 'help', 'restart', 'updateCfgDict', 'killv', 'execCmd','dnodeNums','mnodeNums','queryPolicy','createDnodeNums','restful','websocket','adaptercfgupdate','replicaVar','independentMnode','previous'])
@ -202,7 +202,7 @@ if __name__ == "__main__":
createDnodeNums = value createDnodeNums = value
if key in ['-i', '--independentMnode']: if key in ['-i', '--independentMnode']:
independentMnode = False independentMnode = value
if key in ['-R', '--restful']: if key in ['-R', '--restful']:
restful = True restful = True