kaisun2000 commented on issue #1423:
URL: https://github.com/apache/helix/issues/1423#issuecomment-700894948
public void testRollingUpgrade() throws InterruptedException {
// rolling upgrade the cluster
for (String ins : _instances) {
System.out.println("Disable " + ins);
_gSetupTool.getClusterManagementTool().enableInstance(CLUSTER_NAME,
ins, false);
//Thread.sleep(1000L);
Assert.assertTrue(_clusterVerifier.verifyByPolling()); ---> failed.
System.out.println("Enable " + ins);
_gSetupTool.getClusterManagementTool().enableInstance(CLUSTER_NAME,
ins, true);
//Thread.sleep(1000L);
Assert.assertTrue(_clusterVerifier.verifyByPolling());
}
Assert.assertTrue(_clusterVerifier.verifyByPolling());
Assert.assertFalse(TestTransition.duplicatedPartitionsSnapshot.keys().hasMoreElements());
}
----------------------------------------------------------------
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]