summaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@oath.com>2018-01-11 23:11:56 +0100
committerHåkon Hallingstad <hakon@oath.com>2018-01-11 23:11:56 +0100
commita6442d127d3bd311542842cdee2ee6dbba7b3629 (patch)
tree22387a253c0848efda52f3db7f00b4ed4f5d110a /orchestrator
parentbd891f6ff6e029dca4083ca9205df8f36bda09ed (diff)
Some Curator clients require ensemble connect string
Diffstat (limited to 'orchestrator')
-rw-r--r--orchestrator/src/test/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusServiceTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusServiceTest.java b/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusServiceTest.java
index 1e742b5940a..2e914718e20 100644
--- a/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusServiceTest.java
+++ b/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusServiceTest.java
@@ -8,8 +8,6 @@ import com.yahoo.vespa.orchestrator.TestIds;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.apache.curator.SessionFailRetryLoop.SessionFailedException;
import org.apache.curator.framework.CuratorFramework;
-import org.apache.curator.framework.CuratorFrameworkFactory;
-import org.apache.curator.retry.ExponentialBackoffRetry;
import org.apache.curator.test.KillSession;
import org.apache.curator.test.TestingServer;
import org.hamcrest.Description;
@@ -56,7 +54,7 @@ public class ZookeeperStatusServiceTest {
}
private static Curator createConnectedCurator(TestingServer server) throws InterruptedException {
- Curator curator = new Curator(server.getConnectString());
+ Curator curator = Curator.create(server.getConnectString());
curator.framework().blockUntilConnected(1, TimeUnit.MINUTES);
return curator;
}