From e84adb0c53ff57806b2064adb106985ce2a60baf Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Tue, 3 Nov 2020 16:13:55 +0800 Subject: [PATCH] add test case for update --- tests/pytest/update/merge_commit_data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/pytest/update/merge_commit_data.py b/tests/pytest/update/merge_commit_data.py index d2b425b955..9b3fea1865 100644 --- a/tests/pytest/update/merge_commit_data.py +++ b/tests/pytest/update/merge_commit_data.py @@ -57,9 +57,7 @@ class TDTestCase: tdSql.query("select * from t1") tdSql.checkRows(insertRows) tdDnodes.stop(1) - time.sleep(5) tdDnodes.start(1) - time.sleep(5) tdSql.query("select * from t1") tdSql.checkRows(insertRows) print("==========step2") @@ -73,6 +71,7 @@ class TDTestCase: tdSql.query("select * from t2") tdSql.checkRows(insertRows) tdDnodes.stop(1) + tdDnodes.start(1) tdSql.query("select * from t2") tdSql.checkRows(insertRows) for i in range(-100,0): -- GitLab