From 46539d2d972d44d7221410401153b7792fa8c9dd Mon Sep 17 00:00:00 2001 From: jeffreyz Date: Wed, 21 Aug 2013 23:19:48 +0000 Subject: [PATCH] HBASE-8960: TestDistributedLogSplitting fails sometime - stablize testDisallowWritesInRecovering - addendum git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1516328 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/hadoop/hbase/master/TestDistributedLogSplitting.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java index acfba4e873a..b8fa712b108 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java @@ -824,6 +824,7 @@ public class TestDistributedLogSplitting { Put put = new Put(key); put.add(Bytes.toBytes("family"), Bytes.toBytes("c1"), new byte[]{'b'}); ht.put(put); + ht.close(); } catch (IOException ioe) { Assert.assertTrue(ioe instanceof RetriesExhaustedWithDetailsException); RetriesExhaustedWithDetailsException re = (RetriesExhaustedWithDetailsException) ioe; @@ -839,7 +840,6 @@ public class TestDistributedLogSplitting { foundRegionInRecoveryException); } - ht.close(); zkw.close(); }