You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2019/02/05 17:16:31 UTC
[curator] branch CURATOR-498 updated: CURATOR-498 - minor tuning to
testSessionSurvives() test
This is an automated email from the ASF dual-hosted git repository.
randgalt pushed a commit to branch CURATOR-498
in repository https://gitbox.apache.org/repos/asf/curator.git
The following commit(s) were added to refs/heads/CURATOR-498 by this push:
new 6cf28ec CURATOR-498 - minor tuning to testSessionSurvives() test
6cf28ec is described below
commit 6cf28ec31de71cbc50a36557e849143225306f78
Author: randgalt <ra...@apache.org>
AuthorDate: Tue Feb 5 12:16:26 2019 -0500
CURATOR-498 - minor tuning to testSessionSurvives() test
---
.../test/java/org/apache/curator/framework/imps/TestWithCluster.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestWithCluster.java b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestWithCluster.java
index c8050de..7e8ffbb 100644
--- a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestWithCluster.java
+++ b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestWithCluster.java
@@ -68,7 +68,7 @@ public class TestWithCluster
for ( InstanceSpec spec : cluster.getInstances() )
{
cluster.killServer(spec);
- timing.forWaiting().sleepABit();
+ timing.sleepABit();
cluster.restartServer(spec);
timing.sleepABit();
}
@@ -87,7 +87,7 @@ public class TestWithCluster
public void testSplitBrain() throws Exception
{
Timing timing = new Timing();
-
+
CuratorFramework client = null;
TestingCluster cluster = new TestingCluster(3);
cluster.start();