summaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2020-01-09 16:56:51 +0100
committerHarald Musum <musum@verizonmedia.com>2020-01-09 16:56:51 +0100
commit63c151e0ebb65221dc318b4191db063e4da0cef4 (patch)
treed278278d44f5d5697a8baac9260f65d2c25a4e19 /orchestrator
parent011a262844a16db4524a1879cd9f893c78509ff1 (diff)
Create zookeeper client config file only when necessary
Diffstat (limited to 'orchestrator')
-rw-r--r--orchestrator/src/test/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusServiceTest.java2
1 files changed, 1 insertions, 1 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 4191636e7fe..f0f9ebfb13c 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
@@ -77,7 +77,7 @@ public class ZookeeperStatusServiceTest {
}
private static Curator createConnectedCurator(TestingServer server) throws InterruptedException {
- Curator curator = Curator.create(server.getConnectString());
+ Curator curator = Curator.create(server.getConnectString(), Optional.empty());
curator.framework().blockUntilConnected(1, TimeUnit.MINUTES);
return curator;
}