Skip to content
Permalink
Browse files
CURATOR-498 - minor tuning to testSessionSurvives() test
  • Loading branch information
randgalt committed Feb 5, 2019
1 parent 782448e commit 6cf28ec31de71cbc50a36557e849143225306f78
Showing 1 changed file with 2 additions and 2 deletions.
@@ -68,7 +68,7 @@ public void stateChanged(CuratorFramework client, ConnectionState newState)
for ( InstanceSpec spec : cluster.getInstances() )
{
cluster.killServer(spec);
timing.forWaiting().sleepABit();
timing.sleepABit();
cluster.restartServer(spec);
timing.sleepABit();
}
@@ -87,7 +87,7 @@ public void stateChanged(CuratorFramework client, ConnectionState newState)
public void testSplitBrain() throws Exception
{
Timing timing = new Timing();

CuratorFramework client = null;
TestingCluster cluster = new TestingCluster(3);
cluster.start();

0 comments on commit 6cf28ec

Please sign in to comment.