hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject hbase git commit: HBASE-18905 addendum fix hanging TestFlushLifeCycleTracker
Date Fri, 27 Oct 2017 06:13:20 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 82b1c320f -> 090c10f2a


HBASE-18905 addendum fix hanging TestFlushLifeCycleTracker


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/090c10f2
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/090c10f2
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/090c10f2

Branch: refs/heads/master
Commit: 090c10f2a4df298e7778fb2792c8b65334db0916
Parents: 82b1c32
Author: zhangduo <zhangduo@apache.org>
Authored: Fri Oct 27 10:56:21 2017 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Fri Oct 27 14:05:16 2017 +0800

----------------------------------------------------------------------
 .../hbase/regionserver/TestFlushLifeCycleTracker.java | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/090c10f2/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFlushLifeCycleTracker.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFlushLifeCycleTracker.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFlushLifeCycleTracker.java
index 04a32cc..7ef1f69 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFlushLifeCycleTracker.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFlushLifeCycleTracker.java
@@ -45,7 +45,6 @@ import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
@@ -53,13 +52,12 @@ import org.junit.experimental.categories.Category;
  * Confirm that the function of FlushLifeCycleTracker is OK as we do not use it in our own
code.
  */
 @Category({ CoprocessorTests.class, MediumTests.class })
-@Ignore
 public class TestFlushLifeCycleTracker {
 
   private static final HBaseTestingUtility UTIL = new HBaseTestingUtility();
 
   private static final TableName NAME =
-      TableName.valueOf(TestCompactionLifeCycleTracker.class.getSimpleName());
+      TableName.valueOf(TestFlushLifeCycleTracker.class.getSimpleName());
 
   private static final byte[] CF = Bytes.toBytes("CF");
 
@@ -116,11 +114,11 @@ public class TestFlushLifeCycleTracker {
       CountDownLatch arrive = ARRIVE;
       if (arrive != null) {
         arrive.countDown();
-      }
-      try {
-        BLOCK.await();
-      } catch (InterruptedException e) {
-        throw new InterruptedIOException();
+        try {
+          BLOCK.await();
+        } catch (InterruptedException e) {
+          throw new InterruptedIOException();
+        }
       }
     }
   }


Mime
View raw message