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

panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ef218d79da [fix](case) add sync after stream load (#22232)
ef218d79da is described below

commit ef218d79da57d94667031c82964800023c9930b0
Author: shuke <37901441+shuke...@users.noreply.github.com>
AuthorDate: Fri Jul 28 17:05:20 2023 +0800

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

diff --git 
a/regression-test/suites/data_model_p0/duplicate/storage/test_dup_tab_auto_inc_with_null.groovy
 
b/regression-test/suites/data_model_p0/duplicate/storage/test_dup_tab_auto_inc_with_null.groovy
index 14568db2a5..f56b212109 100644
--- 
a/regression-test/suites/data_model_p0/duplicate/storage/test_dup_tab_auto_inc_with_null.groovy
+++ 
b/regression-test/suites/data_model_p0/duplicate/storage/test_dup_tab_auto_inc_with_null.groovy
@@ -45,6 +45,7 @@ suite("test_dup_table_auto_inc_basic_with_null") {
         file 'auto_inc_basic_with_null.csv'
         time 10000 // limit inflight 10s
     }
+    sql """sync"""
     qt_auto_inc_ids "select * from ${table1};"
     sql "drop table if exists ${table1};"
 
@@ -228,4 +229,4 @@ suite("test_dup_table_auto_inc_basic_with_null") {
       """
     sql "insert into ${table8} select x, null from ${table7};"
     qt_sql "select * from ${table8} order by id"
-}
\ No newline at end of file
+}
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 02f5f1b55b..e456869058 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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to