HBASE-11443 TestIOFencing#testFencingAroundCompactionAfterWALSync times out
This commit is contained in:
parent
5af264c5b5
commit
34cd00b291
|
@ -177,6 +177,17 @@ public class TestIOFencing {
|
|||
r = (CompactionBlockerRegion) region;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void completeCompaction(final Collection<StoreFile> compactedFiles,
|
||||
boolean removeFiles) throws IOException {
|
||||
try {
|
||||
r.compactionsWaiting.countDown();
|
||||
r.compactionsBlocked.await();
|
||||
} catch (InterruptedException ex) {
|
||||
throw new IOException(ex);
|
||||
}
|
||||
super.completeCompaction(compactedFiles, removeFiles);
|
||||
}
|
||||
@Override
|
||||
protected void completeCompaction(Collection<StoreFile> compactedFiles) throws IOException {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue