Repository: curator Updated Branches: refs/heads/CURATOR-411 4813b7924 -> 70588f92e
extend BaseClassForTests so that retries occur Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/70588f92 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/70588f92 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/70588f92 Branch: refs/heads/CURATOR-411 Commit: 70588f92e3dc7162f1e0df12ad0c09c92ab86b32 Parents: 4813b79 Author: randgalt <[email protected]> Authored: Mon May 8 23:51:25 2017 +0200 Committer: randgalt <[email protected]> Committed: Mon May 8 23:51:25 2017 +0200 ---------------------------------------------------------------------- .../framework/recipes/cache/TestPathChildrenCacheInCluster.java | 3 ++- .../framework/recipes/locks/TestInterProcessSemaphoreCluster.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/70588f92/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestPathChildrenCacheInCluster.java ---------------------------------------------------------------------- diff --git a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestPathChildrenCacheInCluster.java b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestPathChildrenCacheInCluster.java index b3abca9..7710d17 100644 --- a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestPathChildrenCacheInCluster.java +++ b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestPathChildrenCacheInCluster.java @@ -19,6 +19,7 @@ package org.apache.curator.framework.recipes.cache; import com.google.common.collect.Queues; +import org.apache.curator.test.BaseClassForTests; import org.apache.curator.utils.CloseableUtils; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; @@ -33,7 +34,7 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; -public class TestPathChildrenCacheInCluster +public class TestPathChildrenCacheInCluster extends BaseClassForTests { @Test public void testMissedDelete() throws Exception http://git-wip-us.apache.org/repos/asf/curator/blob/70588f92/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreCluster.java ---------------------------------------------------------------------- diff --git a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreCluster.java b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreCluster.java index c06d042..ed56f15 100644 --- a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreCluster.java +++ b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessSemaphoreCluster.java @@ -26,6 +26,7 @@ import org.apache.curator.framework.imps.TestCleanState; import org.apache.curator.framework.state.ConnectionState; import org.apache.curator.framework.state.ConnectionStateListener; import org.apache.curator.retry.ExponentialBackoffRetry; +import org.apache.curator.test.BaseClassForTests; import org.apache.curator.test.InstanceSpec; import org.apache.curator.test.TestingCluster; import org.apache.curator.test.Timing; @@ -45,7 +46,7 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; -public class TestInterProcessSemaphoreCluster +public class TestInterProcessSemaphoreCluster extends BaseClassForTests { @Test public void testKilledServerWithEnsembleProvider() throws Exception
