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:
parent
1be8cd2c63
commit
46539d2d97
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue