CURATOR-564 (#351)
authorJordan Zimmerman <jordan@jordanzimmerman.com>
Mon, 23 Mar 2020 20:11:18 +0000 (15:11 -0500)
committerGitHub <noreply@github.com>
Mon, 23 Mar 2020 20:11:18 +0000 (15:11 -0500)
commitf204083e3d1d887971aa6ed34cc8d7f4cd1ecb5e
tree0bffeb0a3a0143b6261784ed96b31ecdf143a1bc
parentd65669b64f003326c98843b32b997e3ffab1e442
CURATOR-564 (#351)

Like was done for TestingServer, catch startup issues for TestingCluster and then re-recreate and re-start the cluster one time. Hopefully this will make the tests more stable.

Co-authored-by: randgalt <randgalt@apache.org>
curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
curator-framework/src/test/java/org/apache/curator/framework/imps/TestReadOnly.java
curator-framework/src/test/java/org/apache/curator/framework/imps/TestReconfiguration.java
curator-framework/src/test/java/org/apache/curator/framework/imps/TestWithCluster.java
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestPathChildrenCacheInCluster.java
curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderLatch.java
curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderLatchCluster.java
curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderSelectorCluster.java
curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreCluster.java
curator-test/src/main/java/org/apache/curator/test/BaseClassForTests.java