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 15b7a3fbe Extend the timeout
15b7a3fbe is described below
commit 15b7a3fbe6cc055a112dcc93ff1e4a44c114e32b
Author: Junkai Xue <[email protected]>
AuthorDate: Sun May 31 14:36:32 2026 -0700
Extend the timeout
---
.../test/java/org/apache/helix/manager/zk/TestHandleSession.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/helix-core/src/test/java/org/apache/helix/manager/zk/TestHandleSession.java
b/helix-core/src/test/java/org/apache/helix/manager/zk/TestHandleSession.java
index ee2f215ca..2c0838a66 100644
---
a/helix-core/src/test/java/org/apache/helix/manager/zk/TestHandleSession.java
+++
b/helix-core/src/test/java/org/apache/helix/manager/zk/TestHandleSession.java
@@ -406,7 +406,7 @@ public class TestHandleSession extends ZkTestBase {
try {
// Wait for new session S1 is established and starting to reset
handlers.
TestHelper.verify(() ->
!(manager.getSessionId().equals(originalSessionId))
- && manager.getResetHandlersStartTime() >
initResetHandlersStartTime, 3000L);
+ && manager.getResetHandlersStartTime() >
initResetHandlersStartTime, 5000L);
// S1's info.
final String lastSessionId = manager.getSessionId();
@@ -419,7 +419,7 @@ public class TestHandleSession extends ZkTestBase {
// Wait and verify the new session S2 is established.
TestHelper.verify(() ->
!((ZKUtil.toHexSessionId(manager.getZkClient().getSessionId()))
- .equals(lastSessionId)), 3000L);
+ .equals(lastSessionId)), 5000L);
} catch (Exception ignored) {
// Ignored.
} finally {
@@ -432,7 +432,7 @@ public class TestHandleSession extends ZkTestBase {
// Wait for S2 to handle new session.
TestHelper.verify(() -> !(manager.getSessionId().equals(lastSessionId))
- && manager.getResetHandlersStartTime() >
lastResetHandlersStartTime, 3000L);
+ && manager.getResetHandlersStartTime() >
lastResetHandlersStartTime, 5000L);
// Notify main thread to verify result: expired S1 should not create
live instance.
mainThreadBlocker.countDown();