This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 6fc153aba2a1f85c5cd6df50050e5b3a38d8c80d
Author: Xin Liao <[email protected]>
AuthorDate: Thu Aug 17 15:18:07 2023 +0800

    [fix](test) add sync for test_pk_uk_case (#23067)
---
 regression-test/suites/unique_with_mow_p0/test_pk_uk_case.groovy | 2 ++
 regression-test/suites/unique_with_mow_p2/test_pk_uk_case.groovy | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/regression-test/suites/unique_with_mow_p0/test_pk_uk_case.groovy 
b/regression-test/suites/unique_with_mow_p0/test_pk_uk_case.groovy
index 410e209721..2046f6f27d 100644
--- a/regression-test/suites/unique_with_mow_p0/test_pk_uk_case.groovy
+++ b/regression-test/suites/unique_with_mow_p0/test_pk_uk_case.groovy
@@ -184,6 +184,8 @@ suite("test_pk_uk_case") {
             ($order_key, $part_key, $sub_key, $line_num, $decimal, $decimal, 
$decimal, $decimal, '1', '1', '$date', '$date', '$date', '$name', '$name', 
'$city')
         """
 
+        sql "sync"
+
         // count(*)
         result0 = sql """ SELECT count(*) FROM ${tableNamePk}; """
         result1 = sql """ SELECT count(*) FROM ${tableNameUk}; """
diff --git a/regression-test/suites/unique_with_mow_p2/test_pk_uk_case.groovy 
b/regression-test/suites/unique_with_mow_p2/test_pk_uk_case.groovy
index 4e9ab47a48..3b61c69bbc 100644
--- a/regression-test/suites/unique_with_mow_p2/test_pk_uk_case.groovy
+++ b/regression-test/suites/unique_with_mow_p2/test_pk_uk_case.groovy
@@ -184,6 +184,8 @@ suite("test_pk_uk_case") {
             ($order_key, $part_key, $sub_key, $line_num, $decimal, $decimal, 
$decimal, $decimal, '1', '1', '$date', '$date', '$date', '$name', '$name', 
'$city')
         """
 
+        sql "sync"
+
         // count(*)
         result0 = sql """ SELECT count(*) FROM ${tableNamePk}; """
         result1 = sql """ SELECT count(*) FROM ${tableNameUk}; """


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to