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 a5d87dd9be351fc80a82174a166c9e71c6df5df3
Author: shuke <[email protected]>
AuthorDate: Fri Jul 28 17:05:20 2023 +0800

    [fix](case) add sync after stream load (#22232)
    
    add sync after stream load
---
 regression-test/suites/load_p0/mysql_load/test_mysql_load.groovy       | 3 ++-
 .../suites/partition_p0/multi_partition/test_range_partition.groovy    | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/regression-test/suites/load_p0/mysql_load/test_mysql_load.groovy 
b/regression-test/suites/load_p0/mysql_load/test_mysql_load.groovy
index 611adf9e3a..ff239e5fef 100644
--- a/regression-test/suites/load_p0/mysql_load/test_mysql_load.groovy
+++ b/regression-test/suites/load_p0/mysql_load/test_mysql_load.groovy
@@ -153,7 +153,8 @@ suite("test_mysql_load", "p0") {
         (col)
         SET 
(k1=year(col),k2=month(col),k3=month(col),k4=day(col),k5=7.7,k6="a",k10=date(col),k11=FROM_UNIXTIME(2019,"%Y-%m-%dT%H:%i:%s"),k7="k7",k8=month(col),k9=day(col));
     """
-
+    
+    sql "sync"
     order_qt_sql1 " SELECT * FROM ${tableName2}"
 
 }
diff --git 
a/regression-test/suites/partition_p0/multi_partition/test_range_partition.groovy
 
b/regression-test/suites/partition_p0/multi_partition/test_range_partition.groovy
index 87e3f3ca83..64f5deff4a 100644
--- 
a/regression-test/suites/partition_p0/multi_partition/test_range_partition.groovy
+++ 
b/regression-test/suites/partition_p0/multi_partition/test_range_partition.groovy
@@ -68,6 +68,7 @@ suite("test_range_partition", "p0") {
                 set "column_separator", ","
                 file "partition_table.csv"
             }
+            sql """sync"""
             test {
                 sql "select * from tinyint_partition_tb_${idx} order by k1, k2"
                 resultFile "partition_table.out"


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

Reply via email to