Skip to content

Commit

Permalink
[fix](regression-test) Increase timeout for compaction tasks in some …
Browse files Browse the repository at this point in the history
…sc cases (apache#45461)

Awaitility default timeout: 10s may be not enough for some compaction
tasks in some schema change test cases.
  • Loading branch information
TangSiyang2001 authored Dec 17, 2024
1 parent 7a79d97 commit e88bde1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e88bde1

Please sign in to comment.