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 dc3ee3c82 [Test] add timeout
dc3ee3c82 is described below

commit dc3ee3c8284591f767a7629e91e02fca3e3db87a
Author: Junkai Xue <[email protected]>
AuthorDate: Tue Mar 17 01:00:34 2026 -0700

    [Test] add timeout
---
 .../helix/integration/task/TestIndependentTaskRebalancer.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/helix-core/src/test/java/org/apache/helix/integration/task/TestIndependentTaskRebalancer.java
 
b/helix-core/src/test/java/org/apache/helix/integration/task/TestIndependentTaskRebalancer.java
index 2de2cebef..0cd3a1009 100644
--- 
a/helix-core/src/test/java/org/apache/helix/integration/task/TestIndependentTaskRebalancer.java
+++ 
b/helix-core/src/test/java/org/apache/helix/integration/task/TestIndependentTaskRebalancer.java
@@ -150,7 +150,7 @@ public class TestIndependentTaskRebalancer extends 
TaskTestBase {
     Assert.assertTrue(_invokedClasses.contains(TaskTwo.class.getName()));
   }
 
-  @Test
+  @Test(timeOut = 600000)
   public void testThresholdFailure() throws Exception {
     LOG.info("Starting testThresholdFailure. Clearing invoked classes set.");
     _invokedClasses.clear();
@@ -210,7 +210,7 @@ public class TestIndependentTaskRebalancer extends 
TaskTestBase {
         "TaskTwo was not invoked. Invoked classes: " + _invokedClasses);
   }
 
-  @Test (dependsOnMethods = "testThresholdFailure")
+  @Test(dependsOnMethods = "testThresholdFailure", timeOut = 600000)
   public void testReassignment() throws Exception {
     String workflowName = TestHelper.getTestMethodName();
     String jobNameSuffix = "job";
@@ -254,7 +254,7 @@ public class TestIndependentTaskRebalancer extends 
TaskTestBase {
     _driver.pollForWorkflowState(workflowName, TaskState.COMPLETED);
   }
 
-  @Test (dependsOnMethods = "testReassignment")
+  @Test(dependsOnMethods = "testReassignment", timeOut = 600000)
   public void testOneTimeScheduled() throws Exception {
     String jobName = TestHelper.getTestMethodName();
     Workflow.Builder workflowBuilder = new Workflow.Builder(jobName);
@@ -286,7 +286,7 @@ public class TestIndependentTaskRebalancer extends 
TaskTestBase {
     Assert.assertTrue(startTime <= inFiveSeconds);
   }
 
-  @Test (dependsOnMethods = "testOneTimeScheduled")
+  @Test(dependsOnMethods = "testOneTimeScheduled", timeOut = 600000)
   public void testDelayedRetry() throws Exception {
     // Create a single job with single task, set retry delay
     int delay = 3000;

Reply via email to