From 7ffbead040bd90935a7cfbd1a5ef0b6919cda9c4 Mon Sep 17 00:00:00 2001 From: bobhan1 Date: Wed, 28 Aug 2024 22:02:28 +0800 Subject: [PATCH] [branch-2.1] Picks "[Fix](regression) fix unstable case test_schema_change_unique_mow #39315" (#40034) ## Proposed changes picks https://github.com/apache/doris/pull/39315/files --- .../schema_change_p0/test_schema_change_unique_mow.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-test/suites/schema_change_p0/test_schema_change_unique_mow.groovy b/regression-test/suites/schema_change_p0/test_schema_change_unique_mow.groovy index 6bf9c79372..1219de3185 100644 --- a/regression-test/suites/schema_change_p0/test_schema_change_unique_mow.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_change_unique_mow.groovy @@ -100,7 +100,7 @@ suite("test_schema_change_unique_mow", "p0") { sql """ alter table ${tableName3} modify column k4 string NULL""" - Awaitility.await().atMost(12, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( + Awaitility.await().atMost(30, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( { String res = getJobState(tableName3) if (res == "FINISHED" || res == "CANCELLED") { @@ -113,7 +113,7 @@ suite("test_schema_change_unique_mow", "p0") { ) sql """ alter table ${tableName3} modify column k2 bigint(11) key NULL""" - Awaitility.await().atMost(12, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( + Awaitility.await().atMost(30, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( { String res = getJobState(tableName3) if (res == "FINISHED" || res == "CANCELLED") { @@ -146,7 +146,7 @@ suite("test_schema_change_unique_mow", "p0") { */ sql """ alter table ${tableName3} modify column k5 string NULL""" - Awaitility.await().atMost(12, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( + Awaitility.await().atMost(30, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( { String res = getJobState(tableName3) if (res == "FINISHED" || res == "CANCELLED") { @@ -165,7 +165,7 @@ suite("test_schema_change_unique_mow", "p0") { sql """ alter table ${tableName3} modify column v14 int NULL default "1" """ int cnt = 6000 - Awaitility.await().atMost(20, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( + Awaitility.await().atMost(30, TimeUnit.SECONDS).pollDelay(10, TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until( { String res = getJobState(tableName3) if (res == "FINISHED" || res == "CANCELLED") {