CURATOR-498 - minor tuning to testSessionSurvives() test CURATOR-498
authorrandgalt <randgalt@apache.org>
Tue, 5 Feb 2019 17:16:26 +0000 (12:16 -0500)
committerrandgalt <randgalt@apache.org>
Tue, 5 Feb 2019 17:16:26 +0000 (12:16 -0500)
curator-framework/src/test/java/org/apache/curator/framework/imps/TestWithCluster.java

index c8050de..7e8ffbb 100644 (file)
@@ -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();