From 7d3e763339611c059f2756584608927255a21af4 Mon Sep 17 00:00:00 2001 From: zhannngchen <48427519+zhannngchen@users.noreply.github.com> Date: Sun, 24 Dec 2023 20:47:29 +0800 Subject: [PATCH] [fix](regression-test) test_partial_update_native_insert_stmt_complex is flaky (#28927) --- .../test_partial_update_native_insert_stmt_complex.groovy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_native_insert_stmt_complex.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_native_insert_stmt_complex.groovy index 62dfed2fa70f63..ad143a04be3c94 100644 --- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_native_insert_stmt_complex.groovy +++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_native_insert_stmt_complex.groovy @@ -72,6 +72,8 @@ suite("test_partial_update_native_insert_stmt_complex", "p0") { (5, 5, '5', 5.0, '2000-01-05');""" sql """insert into ${tbName3} values(1), (3), (5);""" + sql "sync;" + qt_tbl1 "select * from ${tbName1} order by id;" qt_tbl2 "select * from ${tbName2} order by id;" qt_tbl3 "select * from ${tbName3} order by id;" @@ -111,6 +113,8 @@ suite("test_partial_update_native_insert_stmt_complex", "p0") { (5, 5, '5', 5.0, '2000-01-05');""" sql """insert into ${tbName3} values(1), (3), (5);""" + sql "sync;" + qt_select_result "select ${tbName2}.id,1 from ${tbName2} inner join ${tbName3} on ${tbName2}.id = ${tbName3}.id order by ${tbName2}.id;" sql "set enable_unique_key_partial_update=true;"