From e7e8eb180eea257031ed7bdd1224ea1774bb5ec0 Mon Sep 17 00:00:00 2001 From: walter Date: Mon, 3 Jun 2024 10:55:30 +0800 Subject: [PATCH] Fix insert overwrite cases (#101) --- .../suites/table-sync/test_insert_overwrite.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/regression-test/suites/table-sync/test_insert_overwrite.groovy b/regression-test/suites/table-sync/test_insert_overwrite.groovy index e7b0aa34..391ecc0d 100644 --- a/regression-test/suites/table-sync/test_insert_overwrite.groovy +++ b/regression-test/suites/table-sync/test_insert_overwrite.groovy @@ -152,8 +152,10 @@ suite("test_insert_overwrite") { """ sql "sync" + sleep(10000) + assertTrue(checkRestoreFinishTimesOf("${uniqueTable}", 60)) + assertTrue(checkSelectTimesOf("SELECT * FROM ${uniqueTable} WHERE test=3", 5, 60)) - assertTrue(checkSelectTimesOf("SELECT * FROM ${uniqueTable} WHERE test=2", 0, 60)) assertTrue(checkSelectTimesOf("SELECT * FROM ${uniqueTable}", 5, 60)) qt_sql "SELECT * FROM ${uniqueTable} ORDER BY test, id"