kaisun2000 commented on a change in pull request #1450:
URL: https://github.com/apache/helix/pull/1450#discussion_r501311882
##########
File path:
helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestClusterInMaintenanceModeWhenReachingMaxPartition.java
##########
@@ -114,10 +115,10 @@ public void testDisableCluster() throws Exception {
_participants.get(i).syncStop();
}
- Thread.sleep(1000L);
- maintenanceSignal =
_dataAccessor.getProperty(_dataAccessor.keyBuilder().maintenance());
- Assert.assertNotNull(maintenanceSignal);
- Assert.assertNotNull(maintenanceSignal.getReason());
+ boolean result = TestHelper.verify(() -> {
Review comment:
Good catch. This is actually addressed in
https://github.com/apache/helix/pull/1447/files. This file change also belongs
there
----------------------------------------------------------------
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]