incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [7/8] git commit: Was using the wrong zk connection string.
Date Wed, 01 May 2013 02:45:29 GMT
Was using the wrong zk connection string.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/a0341b55
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/a0341b55
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/a0341b55

Branch: refs/heads/0.1.5
Commit: a0341b5596dc4f23d2b0c667fc02e333fbf5d059
Parents: f5c2d34
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Apr 30 22:44:14 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Apr 30 22:44:14 2013 -0400

----------------------------------------------------------------------
 .../blur/manager/indexserver/SafeModeTest.java     |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/a0341b55/src/blur-core/src/test/java/org/apache/blur/manager/indexserver/SafeModeTest.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/test/java/org/apache/blur/manager/indexserver/SafeModeTest.java
b/src/blur-core/src/test/java/org/apache/blur/manager/indexserver/SafeModeTest.java
index 612d2c5..c568cd1 100644
--- a/src/blur-core/src/test/java/org/apache/blur/manager/indexserver/SafeModeTest.java
+++ b/src/blur-core/src/test/java/org/apache/blur/manager/indexserver/SafeModeTest.java
@@ -44,7 +44,7 @@ public class SafeModeTest {
   public static void startZooKeeper() throws IOException {
     new File(path).mkdirs();
     MiniCluster.startZooKeeper(path);
-    zk = new ZooKeeper("localhost", 20000, new Watcher() {
+    zk = new ZooKeeper(MiniCluster.getZkConnectionString(), 20000, new Watcher() {
       @Override
       public void process(WatchedEvent event) {
 
@@ -96,7 +96,7 @@ public class SafeModeTest {
 
   @Test
   public void testExtraNodeStartup() throws IOException, InterruptedException, KeeperException
{
-    ZooKeeper zk = new ZooKeeper("localhost", 20000, new Watcher() {
+    ZooKeeper zk = new ZooKeeper(MiniCluster.getZkConnectionString(), 20000, new Watcher()
{
       @Override
       public void process(WatchedEvent event) {
 
@@ -115,7 +115,7 @@ public class SafeModeTest {
 
   @Test
   public void testSecondNodeStartup() throws IOException, InterruptedException, KeeperException
{
-    ZooKeeper zk = new ZooKeeper("localhost", 20000, new Watcher() {
+    ZooKeeper zk = new ZooKeeper(MiniCluster.getZkConnectionString(), 20000, new Watcher()
{
       @Override
       public void process(WatchedEvent event) {
 


Mime
View raw message