You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2014/07/01 00:28:29 UTC
git commit: HBASE-11443
TestIOFencing#testFencingAroundCompactionAfterWALSync times out
Repository: hbase
Updated Branches:
refs/heads/master 5af264c5b -> 34cd00b29
HBASE-11443 TestIOFencing#testFencingAroundCompactionAfterWALSync times out
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/34cd00b2
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/34cd00b2
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/34cd00b2
Branch: refs/heads/master
Commit: 34cd00b2912c045fa65d8b99d8d382af5e92dfc0
Parents: 5af264c
Author: Ted Yu <te...@apache.org>
Authored: Mon Jun 30 22:28:16 2014 +0000
Committer: Ted Yu <te...@apache.org>
Committed: Mon Jun 30 22:28:16 2014 +0000
----------------------------------------------------------------------
.../test/java/org/apache/hadoop/hbase/TestIOFencing.java | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/34cd00b2/hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java
index 6e74214..b5848a2 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java
@@ -178,6 +178,17 @@ public class TestIOFencing {
}
@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 {
r.compactionsWaiting.countDown();