kaisun2000 commented on issue #1299:
URL: https://github.com/apache/helix/issues/1299#issuecomment-692905522
```
// Re-enable custom-code runner
admin.enableResource(clusterName, customCodeRunnerResource, true);
ClusterStateVerifier.BestPossAndExtViewZkVerifier
verifier = new
ClusterStateVerifier.BestPossAndExtViewZkVerifier(ZK_ADDR, clusterName);
try {
result = ClusterStateVerifier.verifyByPolling(verifier,
TestHelper.WAIT_DURATION);
Assert.assertTrue(result);
} finally {
verifier.close();
}
```
This seems a typical case without waiting before verifyByPolling, the
verification can be too early.
----------------------------------------------------------------
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]