From 59e474fb38cc8e4cda86a20942e89f5a82e4d097 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Fri, 22 Sep 2023 15:49:10 +0800 Subject: [PATCH] case: use pytest.sh for -y --- tests/parallel_test/cases.task | 4 ++-- tests/system-test/0-others/splitVGroupRep3.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/parallel_test/cases.task b/tests/parallel_test/cases.task index 6f6b5a0794..a0d28a998d 100644 --- a/tests/parallel_test/cases.task +++ b/tests/parallel_test/cases.task @@ -191,8 +191,8 @@ ,,n,system-test,python3 ./test.py -f 0-others/tag_index_basic.py ,,n,system-test,python3 ./test.py -f 0-others/udfpy_main.py ,,n,system-test,python3 ./test.py -N 3 -f 0-others/walRetention.py -,,y,system-test,python3 ./test.py -f 0-others/splitVGroupRep1.py -N 3 -,,y,system-test,python3 ./test.py -f 0-others/splitVGroupRep3.py -N 3 +,,y,system-test,./pytest.sh python3 ./test.py -f 0-others/splitVGroupRep1.py -N 3 +,,y,system-test,./pytest.sh python3 ./test.py -f 0-others/splitVGroupRep3.py -N 3 ,,n,system-test,python3 ./test.py -f 0-others/timeRangeWise.py -N 3 ,,y,system-test,./pytest.sh python3 ./test.py -f 1-insert/alter_database.py ,,y,system-test,./pytest.sh python3 ./test.py -f 1-insert/alter_replica.py -N 3 diff --git a/tests/system-test/0-others/splitVGroupRep3.py b/tests/system-test/0-others/splitVGroupRep3.py index a6d5079369..d32a9747b5 100644 --- a/tests/system-test/0-others/splitVGroupRep3.py +++ b/tests/system-test/0-others/splitVGroupRep3.py @@ -407,7 +407,7 @@ class TDTestCase: # prepare env self.prepareEnv() - for i in range(3): + for i in range(2): # split vgroup on db2 start = time.time() self.splitVGroup(self.db2)