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 e88bde1b890 [fix](regression-test) Increase timeout for compaction 
tasks in some sc cases (#45461)
e88bde1b890 is described below

commit e88bde1b89083ac5d9afc97e602fdaafeae5faa5
Author: Siyang Tang <tangsiy...@selectdb.com>
AuthorDate: Tue Dec 17 20:28:44 2024 +0800

    [fix](regression-test) Increase timeout for compaction tasks in some sc 
cases (#45461)
    
    Awaitility default timeout: 10s may be not enough for some compaction
    tasks in some schema change test cases.
---
 .../schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy   | 2 +-
 .../suites/schema_change_p0/test_dup_keys_schema_change.groovy          | 2 +-
 .../suites/schema_change_p0/test_uniq_keys_schema_change.groovy         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy
 
b/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy
index 3a92de35b8f..8afc4fd6c11 100644
--- 
a/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy
+++ 
b/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy
@@ -51,7 +51,7 @@ suite("test_agg_keys_schema_change_datev2") {
 
         // wait for all compactions done
         for (String[] tablet in tablets) {
-            Awaitility.await().untilAsserted(() -> {
+            Awaitility.await().atMost(20, TimeUnit.SECONDS).untilAsserted(() 
-> {
                 String tablet_id = tablet[0]
                 backend_id = tablet[2]
                 (code, out, err) = 
be_get_compaction_status(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
diff --git 
a/regression-test/suites/schema_change_p0/test_dup_keys_schema_change.groovy 
b/regression-test/suites/schema_change_p0/test_dup_keys_schema_change.groovy
index 044eaf62258..6fe76138cd2 100644
--- a/regression-test/suites/schema_change_p0/test_dup_keys_schema_change.groovy
+++ b/regression-test/suites/schema_change_p0/test_dup_keys_schema_change.groovy
@@ -151,7 +151,7 @@ suite ("test_dup_keys_schema_change") {
 
         // wait for all compactions done
         for (String[] tablet in tablets) {
-                Awaitility.await().untilAsserted(() -> {
+                Awaitility.await().atMost(20, 
TimeUnit.SECONDS).untilAsserted(() -> {
                     String tablet_id = tablet[0]
                     def backend_id = tablet[2]
                     def (code, out, err) = 
be_get_compaction_status(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
diff --git 
a/regression-test/suites/schema_change_p0/test_uniq_keys_schema_change.groovy 
b/regression-test/suites/schema_change_p0/test_uniq_keys_schema_change.groovy
index b8dcf97e791..45c37051b43 100644
--- 
a/regression-test/suites/schema_change_p0/test_uniq_keys_schema_change.groovy
+++ 
b/regression-test/suites/schema_change_p0/test_uniq_keys_schema_change.groovy
@@ -134,7 +134,7 @@ suite ("test_uniq_keys_schema_change") {
 
         // wait for all compactions done
         for (String[] tablet in tablets) {
-                Awaitility.await().untilAsserted(() -> {
+                Awaitility.await().atMost(20, 
TimeUnit.SECONDS).untilAsserted(() -> {
                     String tablet_id = tablet[0]
                     backend_id = tablet[2]
                     def (code, out, err) = 
be_get_compaction_status(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)


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

Reply via email to