### Eclipse Workspace Patch 1.0 #P Hbase0.94 Index: src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java =================================================================== --- src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java (revision 1412444) +++ src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java (working copy) @@ -19,8 +19,8 @@ */ package org.apache.hadoop.hbase; -import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; @@ -127,6 +127,7 @@ // provoke session expiration by doing something with ZK ZKUtil.dump(connectionZK); + connectionZK.close(); // Check that the old ZK connection is closed, means we did expire System.err.println("ZooKeeper should have timed out");