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
This commit is contained in:
jeffreyz 2013-08-21 23:19:48 +00:00
parent 1be8cd2c63
commit 46539d2d97
1 changed files with 1 additions and 1 deletions

View File

@ -824,6 +824,7 @@ public class TestDistributedLogSplitting {
Put put = new Put(key); Put put = new Put(key);
put.add(Bytes.toBytes("family"), Bytes.toBytes("c1"), new byte[]{'b'}); put.add(Bytes.toBytes("family"), Bytes.toBytes("c1"), new byte[]{'b'});
ht.put(put); ht.put(put);
ht.close();
} catch (IOException ioe) { } catch (IOException ioe) {
Assert.assertTrue(ioe instanceof RetriesExhaustedWithDetailsException); Assert.assertTrue(ioe instanceof RetriesExhaustedWithDetailsException);
RetriesExhaustedWithDetailsException re = (RetriesExhaustedWithDetailsException) ioe; RetriesExhaustedWithDetailsException re = (RetriesExhaustedWithDetailsException) ioe;
@ -839,7 +840,6 @@ public class TestDistributedLogSplitting {
foundRegionInRecoveryException); foundRegionInRecoveryException);
} }
ht.close();
zkw.close(); zkw.close();
} }