accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-2967 clean up warning
Date Wed, 02 Jul 2014 16:58:31 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 991dbded1 -> b56680cac


ACCUMULO-2967 clean up warning

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

Branch: refs/heads/master
Commit: b56680cacd58e425f4c76effedb1ae5b64f58776
Parents: 991dbde
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Wed Jul 2 12:57:47 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Wed Jul 2 12:57:47 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/fate/zookeeper/ZooSessionTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/b56680ca/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooSessionTest.java
----------------------------------------------------------------------
diff --git a/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooSessionTest.java b/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooSessionTest.java
index 6f7928d..fae7e6e 100644
--- a/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooSessionTest.java
+++ b/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooSessionTest.java
@@ -25,8 +25,9 @@ public class ZooSessionTest {
   private static final String UNKNOWN_HOST = "hostname.that.should.not.exist.example.com:2181";
 
   @Test(expected=RuntimeException.class, timeout=MINIMUM_TIMEOUT*4)
-  public void testUnknownHost() {
+  public void testUnknownHost() throws Exception {
     ZooKeeper session = ZooSession.connect(UNKNOWN_HOST, MINIMUM_TIMEOUT, null, null, null);
+    session.close();
   }
 
 }


Mime
View raw message