update curator and fix test

curator is more strict now
This commit is contained in:
Xavier Léauté 2014-11-26 11:03:57 -08:00
parent d4bda82916
commit 523f9c53cd
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<metamx.java-util.version>0.26.9</metamx.java-util.version>
<apache.curator.version>2.6.0</apache.curator.version>
<apache.curator.version>2.7.0</apache.curator.version>
<druid.api.version>0.3.0</druid.api.version>
</properties>

View File

@ -129,7 +129,7 @@ public class DruidClusterBridgeTest
8080
);
AtomicReference<LeaderLatch> leaderLatch = new AtomicReference<>(new LeaderLatch(localCf, "test"));
AtomicReference<LeaderLatch> leaderLatch = new AtomicReference<>(new LeaderLatch(localCf, "/test"));
ZkPathsConfig zkPathsConfig = new ZkPathsConfig()
{