HBASE-10751 TestHRegion testWritesWhileScanning occasional fail since HBASE-10514 went in
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1577664 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f35dcd74a
commit
e97a4df4e0
|
@ -3180,7 +3180,14 @@ public class TestHRegion {
|
|||
flushThread.join();
|
||||
flushThread.checkNoError();
|
||||
} finally {
|
||||
HRegion.closeHRegion(this.region);
|
||||
try {
|
||||
HRegion.closeHRegion(this.region);
|
||||
} catch (DroppedSnapshotException dse) {
|
||||
// We could get this on way out because we interrupt the background flusher and it could
|
||||
// fail anywhere causing a DSE over in the background flusher... only it is not properly
|
||||
// dealt with so could still be memory hanging out when we get to here -- memory we can't
|
||||
// flush because the accounting is 'off' since original DSE.
|
||||
}
|
||||
this.region = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue