diff --git a/tests/parallel_test/cases.task b/tests/parallel_test/cases.task index 00a17c8c96..dbcf002bf6 100644 --- a/tests/parallel_test/cases.task +++ b/tests/parallel_test/cases.task @@ -402,7 +402,7 @@ ,,y,system-test,./pytest.sh python3 ./test.py -f 0-others/persisit_config.py ,,y,system-test,./pytest.sh python3 ./test.py -f 0-others/qmemCtrl.py ,,y,system-test,./pytest.sh python3 ./test.py -f 0-others/compact_vgroups.py - +,,y,system-test,./pytest.sh python3 ./test.py -f 0-others/compact.py -N 3 ,,y,system-test,./pytest.sh python3 ./test.py -f 1-insert/composite_primary_key_create.py ,,y,system-test,./pytest.sh python3 ./test.py -f 1-insert/composite_primary_key_insert.py diff --git a/tests/system-test/0-others/compact.py b/tests/system-test/0-others/compact.py index e51926cc28..eb2938e399 100644 --- a/tests/system-test/0-others/compact.py +++ b/tests/system-test/0-others/compact.py @@ -71,9 +71,10 @@ class TDTestCase: time.sleep(1) count +=1 - tdLog.info("loop%d"%count) + #tdLog.info("loop%d"%count) - #self.Fun.executeSQL("kill compact %d"%tdSql.queryResult[0][1]) + if row1 != 0 or row2 != 0: + tdLog.exit("compact failed") def stop(self):