kaisun2000 commented on a change in pull request #1227:
URL: https://github.com/apache/helix/pull/1227#discussion_r501409817
##########
File path:
helix-core/src/test/java/org/apache/helix/controller/changedetector/TestResourceChangeDetector.java
##########
@@ -422,16 +425,23 @@ public void testIgnoreNonTopologyChanges() {
}
}
- @Test(dependsOnMethods = "testIgnoreNonTopologyChanges")
+ static final int WAIT_TIME = 30 * 60 * 1000;
Review comment:
No need to wait so long as the root cause is known.
##########
File path:
helix-core/src/test/java/org/apache/helix/controller/changedetector/TestResourceChangeDetector.java
##########
@@ -422,16 +425,23 @@ public void testIgnoreNonTopologyChanges() {
}
}
- @Test(dependsOnMethods = "testIgnoreNonTopologyChanges")
+ static final int WAIT_TIME = 30 * 60 * 1000;
+ @Test(dependsOnMethods = "testIgnoreNonTopologyChanges", timeOut = 30 * 60 *
1000)
Review comment:
remove timeout.
##########
File path:
helix-core/src/test/java/org/apache/helix/integration/TestPartitionMovementThrottle.java
##########
@@ -278,8 +278,8 @@ public void testThrottleOnlyClusterLevelAnyType() {
ClusterLiveNodesVerifier liveNodesVerifier =
new ClusterLiveNodesVerifier(_gZkClient, CLUSTER_NAME,
Lists.transform(Arrays.asList(_participants),
MockParticipantManager::getInstanceName));
- Assert.assertTrue(liveNodesVerifier.verifyByZkCallback(1000));
- Assert.assertTrue(_clusterVerifier.verifyByPolling());
+ Assert.assertTrue(liveNodesVerifier.verifyByZkCallback(5000));
+ // Assert.assertTrue(_clusterVerifier.verifyByPolling());
Review comment:
remove.
##########
File path:
helix-core/src/main/java/org/apache/helix/controller/stages/TaskGarbageCollectionStage.java
##########
@@ -78,6 +78,7 @@ public void process(ClusterEvent event) throws Exception {
}
long currentTime = System.currentTimeMillis();
long nextPurgeTime = workflowContext.getLastJobPurgeTime() +
purgeInterval;
+
Review comment:
remove.
##########
File path:
helix-core/src/test/java/org/apache/helix/integration/TestZkCallbackHandlerLeak.java
##########
@@ -415,7 +415,7 @@ public void testDanglingCallbackHanlderFix() throws
Exception {
System.out.println("END " + clusterName + " at " + new
Date(System.currentTimeMillis()));
}
- @Test
+ @Test(timeOut = 1800 * 1000)
Review comment:
remove.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]