diff --git a/tests/pytest/update/merge_commit_data.py b/tests/pytest/update/merge_commit_data.py index d2b425b95550a3665860369bfc8c189b3d510be0..9b3fea186543cd84eac1c3e1d553c5fb124d509e 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):