You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by jx...@apache.org on 2026/05/02 02:32:11 UTC

(helix) branch master updated: Extends timeout

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

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/master by this push:
     new 38564aae3 Extends timeout
38564aae3 is described below

commit 38564aae3b3f1703d5e133e9317cc33fd559c8a7
Author: Junkai Xue <jx...@apache.org>
AuthorDate: Fri May 1 19:32:03 2026 -0700

    Extends timeout
---
 .../paticipant/TestStateTransitionTimeoutWithResource.java            | 4 ++--
 .../org/apache/helix/messaging/handling/TestHelixTaskExecutor.java    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/helix-core/src/test/java/org/apache/helix/integration/paticipant/TestStateTransitionTimeoutWithResource.java b/helix-core/src/test/java/org/apache/helix/integration/paticipant/TestStateTransitionTimeoutWithResource.java
index 42823be78..916bcba93 100644
--- a/helix-core/src/test/java/org/apache/helix/integration/paticipant/TestStateTransitionTimeoutWithResource.java
+++ b/helix-core/src/test/java/org/apache/helix/integration/paticipant/TestStateTransitionTimeoutWithResource.java
@@ -170,7 +170,7 @@ public class TestStateTransitionTimeoutWithResource extends ZkStandAloneCMTestBa
             .verifyByPolling(new MasterNbInExtViewVerifier(ZK_ADDR, CLUSTER_NAME));
     Assert.assertTrue(result);
 
-    TestHelper.verify(() -> verify(TEST_DB), 5000);
+    TestHelper.verify(() -> verify(TEST_DB), 10000);
     Assert.assertTrue(verify(TEST_DB));
   }
 
@@ -195,7 +195,7 @@ public class TestStateTransitionTimeoutWithResource extends ZkStandAloneCMTestBa
             .verifyByPolling(new MasterNbInExtViewVerifier(ZK_ADDR, CLUSTER_NAME));
     Assert.assertTrue(result);
 
-    TestHelper.verify(() -> verify(TEST_DB + 1), 5000);
+    TestHelper.verify(() -> verify(TEST_DB + 1), 10000);
     Assert.assertTrue(verify(TEST_DB + 1));
   }
 
diff --git a/helix-core/src/test/java/org/apache/helix/messaging/handling/TestHelixTaskExecutor.java b/helix-core/src/test/java/org/apache/helix/messaging/handling/TestHelixTaskExecutor.java
index 2520f76dc..79fc3a81f 100644
--- a/helix-core/src/test/java/org/apache/helix/messaging/handling/TestHelixTaskExecutor.java
+++ b/helix-core/src/test/java/org/apache/helix/messaging/handling/TestHelixTaskExecutor.java
@@ -912,7 +912,7 @@ public class TestHelixTaskExecutor {
     }
 
     // Final wait to ensure all timeout cancellations are fully processed
-    Thread.sleep(500);
+    Thread.sleep(1500);
 
     LOG.info("After wait - Handlers created: {}, Processed: {}, TimedOut: {}",
         factory._handlersCreated, factory._processedMsgIds.size(), factory._timedOutMsgIds.size());