incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twilli...@apache.org
Subject [1/2] git commit: Switch test to using zk client
Date Wed, 23 Jul 2014 19:53:00 GMT
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 <twilliams@apache.org>
Authored: Wed Jul 23 15:24:57 2014 -0400
Committer: Tim <twilliams@apache.org>
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) {
 


Mime
View raw message