Repository: incubator-blur Updated Branches: refs/heads/master 33e2196ba -> 355d14ff0
Switch test to using zk client Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/b8993757 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/b8993757 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/b8993757 Branch: refs/heads/master Commit: b8993757f53b53d75f3589c31d5d1b04d82bfada Parents: 33e2196 Author: Tim <[email protected]> Authored: Wed Jul 23 15:24:57 2014 -0400 Committer: Tim <[email protected]> Committed: Wed Jul 23 15:24:57 2014 -0400 ---------------------------------------------------------------------- .../indexserver/MasterBasedDistributedLayoutFactoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b8993757/blur-core/src/test/java/org/apache/blur/manager/indexserver/MasterBasedDistributedLayoutFactoryTest.java ---------------------------------------------------------------------- diff --git a/blur-core/src/test/java/org/apache/blur/manager/indexserver/MasterBasedDistributedLayoutFactoryTest.java b/blur-core/src/test/java/org/apache/blur/manager/indexserver/MasterBasedDistributedLayoutFactoryTest.java index 2e242e6..e40b190 100644 --- a/blur-core/src/test/java/org/apache/blur/manager/indexserver/MasterBasedDistributedLayoutFactoryTest.java +++ b/blur-core/src/test/java/org/apache/blur/manager/indexserver/MasterBasedDistributedLayoutFactoryTest.java @@ -27,6 +27,7 @@ import java.util.Map.Entry; import java.util.TreeMap; import org.apache.blur.MiniCluster; +import org.apache.blur.zookeeper.ZooKeeperClient; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.WatchedEvent; import org.apache.zookeeper.Watcher; @@ -40,7 +41,6 @@ import org.junit.Test; @SuppressWarnings("unchecked") public class MasterBasedDistributedLayoutFactoryTest { - private static String path = "./target/test-zk-MasterBasedDistributedLayoutFactoryTest"; private static MiniCluster miniCluster; @@ -61,7 +61,7 @@ public class MasterBasedDistributedLayoutFactoryTest { @Before public void setup() throws IOException, KeeperException, InterruptedException { - _zooKeeper = new ZooKeeper(miniCluster.getZkConnectionString(), 20000, new Watcher() { + _zooKeeper = new ZooKeeperClient(miniCluster.getZkConnectionString(), 50000, new Watcher() { @Override public void process(WatchedEvent event) {
