incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twilli...@apache.org
Subject git commit: well now, that's a little something I do for fun, that wasn't supposed to be in there
Date Wed, 06 May 2015 01:58:44 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master d55db9476 -> c157de659


well now, that's a little something I do for fun, that wasn't supposed to be in there


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

Branch: refs/heads/master
Commit: c157de659653ea762d10b29bf419a06c1311407b
Parents: d55db94
Author: twilliams <twilliams@apache.org>
Authored: Tue May 5 21:58:36 2015 -0400
Committer: twilliams <twilliams@apache.org>
Committed: Tue May 5 21:58:36 2015 -0400

----------------------------------------------------------------------
 .../src/test/java/org/apache/blur/MiniCluster.java    | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/c157de65/blur-core/src/test/java/org/apache/blur/MiniCluster.java
----------------------------------------------------------------------
diff --git a/blur-core/src/test/java/org/apache/blur/MiniCluster.java b/blur-core/src/test/java/org/apache/blur/MiniCluster.java
index 867a7ec..8db632f 100644
--- a/blur-core/src/test/java/org/apache/blur/MiniCluster.java
+++ b/blur-core/src/test/java/org/apache/blur/MiniCluster.java
@@ -116,7 +116,7 @@ public class MiniCluster {
     miniCluster.startControllers(1, false, false);
     miniCluster.startShards(1, false, false);
 
-//    try {
+    try {
       Iface client = BlurClient.getClient(miniCluster.getControllerConnectionStr());
       miniCluster.createTable("test", client);
       long start = System.nanoTime();
@@ -136,12 +136,12 @@ public class MiniCluster {
         miniCluster.searchRow("test", i, client);
       }
 
-//    } finally {
-//      miniCluster.stopShards();
-//      miniCluster.stopControllers();
-//      miniCluster.shutdownZooKeeper();
-//      miniCluster.shutdownDfs();
-//    }
+    } finally {
+      miniCluster.stopShards();
+      miniCluster.stopControllers();
+      miniCluster.shutdownZooKeeper();
+      miniCluster.shutdownDfs();
+    }
   }
 
   public void startBlurCluster(String path, int controllerCount, int shardCount) {


Mime
View raw message