incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject [09/27] git commit: Added closing ZK client to test.
Date Wed, 16 Oct 2013 03:32:52 GMT
Added closing ZK client to test.


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

Branch: refs/heads/blur-console-v2
Commit: c378790d8f9b3f0fb371a267a49a3f1bd34d6af0
Parents: b824561
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Oct 9 09:55:29 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Oct 9 09:56:00 2013 -0400

----------------------------------------------------------------------
 .../indexserver/MasterBasedDistributedLayoutFactoryTest.java   | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/c378790d/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 65bea5b..87b95ad 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
@@ -32,6 +32,7 @@ import org.apache.zookeeper.WatchedEvent;
 import org.apache.zookeeper.Watcher;
 import org.apache.zookeeper.ZooKeeper;
 import org.apache.zookeeper.data.Stat;
+import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
@@ -68,6 +69,11 @@ public class MasterBasedDistributedLayoutFactoryTest {
     });
     rmr(_zooKeeper, storagePath);
   }
+  
+  @After
+  public void teardown() throws InterruptedException {
+    _zooKeeper.close();
+  }
 
   @Test
   public void testDecreaseInServers() throws IOException, KeeperException, InterruptedException
{


Mime
View raw message