You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2023/06/11 05:51:56 UTC

[doris] branch master updated: [fix](regression) tests in unique_with_mow_p0/partial_update are flaky (#20633)

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

dataroaring 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 ca1e2ddf43 [fix](regression) tests in unique_with_mow_p0/partial_update are flaky (#20633)
ca1e2ddf43 is described below

commit ca1e2ddf43b729d643f8d6cffaf3f536ace5b0de
Author: zhannngchen <48...@users.noreply.github.com>
AuthorDate: Sun Jun 11 13:51:49 2023 +0800

    [fix](regression) tests in unique_with_mow_p0/partial_update are flaky (#20633)
---
 .../unique_with_mow_p0/partial_update/test_partial_update.groovy     | 5 ++++-
 .../partial_update/test_partial_update_default_value.groovy          | 5 ++++-
 .../unique_with_mow_p0/partial_update/test_partial_update_orc.groovy | 5 ++++-
 .../partial_update/test_partial_update_publish.groovy                | 2 ++
 .../partial_update/test_partial_update_with_row_column.groovy        | 3 +++
 5 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy
index 908e18e312..7bfcd75fc5 100644
--- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy
+++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy
@@ -52,8 +52,11 @@ suite("test_primary_key_partial_update", "p0") {
         file 'basic.csv'
         time 10000 // limit inflight 10s
     }
+
+    sql "sync"
+
     qt_select_default """
-        select * from ${tableName}
+        select * from ${tableName} order by id;
     """
 
     // drop drop
diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_default_value.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_default_value.groovy
index 61f4386642..f13eb477b7 100644
--- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_default_value.groovy
+++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_default_value.groovy
@@ -52,8 +52,11 @@ suite("test_primary_key_partial_update_default_value", "p0") {
         file 'default.csv'
         time 10000 // limit inflight 10s
     }
+
+    sql "sync"
+
     qt_select_default """
-        select * from ${tableName}
+        select * from ${tableName} order by id;
     """
 
     // drop drop
diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_orc.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_orc.groovy
index c76ae1395d..852df95dd1 100644
--- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_orc.groovy
+++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_orc.groovy
@@ -51,8 +51,11 @@ suite("test_primary_key_partial_update_orc", "p0") {
         file 'update.orc'
         time 10000 // limit inflight 10s
     }
+
+    sql "sync"
+
     qt_select_0 """
-        select * from ${tableName};
+        select * from ${tableName} order by col_0;
     """
 
     // drop drop
diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_publish.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_publish.groovy
index ee7b5cd87d..5f83c092a9 100644
--- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_publish.groovy
+++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_publish.groovy
@@ -61,6 +61,8 @@ suite("test_primary_key_partial_update_publish", "p0") {
         time 10000 // limit inflight 10s
     }
 
+    sql "sync"
+
     qt_select_default """
         select * from ${tableName} order by id;
     """
diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_with_row_column.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_with_row_column.groovy
index 1b2f7fbd89..1ba8f9a368 100644
--- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_with_row_column.groovy
+++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_with_row_column.groovy
@@ -53,6 +53,9 @@ suite("test_primary_key_partial_update_with_row_column", "p0") {
         file 'basic.csv'
         time 10000 // limit inflight 10s
     }
+
+    sql "sync"
+
     qt_select_default """
         select * from ${tableName} order by id
     """


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org