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

jxue 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 db8dc98e9 Make test timeout annotation
db8dc98e9 is described below

commit db8dc98e9d51b397fe78314a19c84f17dd103e17
Author: Junkai Xue <[email protected]>
AuthorDate: Sun Mar 15 19:25:53 2026 -0700

    Make test timeout annotation
---
 .../helix/integration/rebalancer/TestInstanceOperation.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
 
b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
index cd40a404e..ba7720c40 100644
--- 
a/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
+++ 
b/helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestInstanceOperation.java
@@ -1430,7 +1430,7 @@ public class TestInstanceOperation extends ZkTestBase {
     }
   }
 
-  @Test(dependsOnMethods = "testEvacuateAndCancelBeforeDropFinish")
+  @Test(dependsOnMethods = "testEvacuateAndCancelBeforeDropFinish", timeOut = 
600000)
   public void testMarkEvacuationAfterEMM() throws Exception {
     System.out.println("START 
TestInstanceOperation.testMarkEvacuationAfterEMM() at " + new Date(
         System.currentTimeMillis()));
@@ -1458,11 +1458,11 @@ public class TestInstanceOperation extends ZkTestBase {
       
Assert.assertTrue(getParticipantsInEv(assignment.get(resource)).contains(instanceToEvacuate));
     }
 
-    // exit MM
+    // exit MM - use longer timeout as evacuation may take time to complete
     _gSetupTool.getClusterManagementTool()
         .manuallyEnableMaintenanceMode(CLUSTER_NAME, false, null, null);
 
-    Assert.assertTrue(_clusterVerifier.verifyByPolling());
+    Assert.assertTrue(_clusterVerifier.verifyByPolling(600000, 5000));
 
     assignment = getEVs();
     List<String> currentActiveInstances =
@@ -1594,7 +1594,7 @@ public class TestInstanceOperation extends ZkTestBase {
     dropTestDBs(ImmutableSet.of("TEST_DB3_DELAYED_CRUSHED", 
"TEST_DB4_DELAYED_WAGED"));
   }
 
-  @Test(dependsOnMethods = "testEvacuationWithOfflineInstancesInCluster")
+  @Test(dependsOnMethods = "testEvacuationWithOfflineInstancesInCluster", 
timeOut = 600000)
   public void testEvacuateWithDisabledPartition() throws Exception {
     System.out.println(
         "START TestInstanceOperation.testEvacuateWithDisabledPartition() at " 
+ new Date(

Reply via email to