hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-14647 Disable TestWALProcedureStoreOnHDFS#testWalRollOnLowReplication
Date Mon, 19 Oct 2015 17:42:12 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 b921ed422 -> 8940be059


HBASE-14647 Disable TestWALProcedureStoreOnHDFS#testWalRollOnLowReplication


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

Branch: refs/heads/branch-1
Commit: 8940be05978950d18916d7d67d65c1fa915bd802
Parents: b921ed4
Author: stack <stack@apache.org>
Authored: Mon Oct 19 10:39:09 2015 -0700
Committer: stack <stack@apache.org>
Committed: Mon Oct 19 10:42:05 2015 -0700

----------------------------------------------------------------------
 .../master/procedure/TestWALProcedureStoreOnHDFS.java  | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8940be05/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestWALProcedureStoreOnHDFS.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestWALProcedureStoreOnHDFS.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestWALProcedureStoreOnHDFS.java
index 1d7dc83..67c4d20 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestWALProcedureStoreOnHDFS.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestWALProcedureStoreOnHDFS.java
@@ -54,6 +54,7 @@ import org.apache.hadoop.hdfs.server.datanode.DataNode;
 
 import org.junit.After;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 import org.mockito.Mockito;
@@ -181,7 +182,7 @@ public class TestWALProcedureStoreOnHDFS {
                                    reCount.get() < thread.length);
   }
 
-  @Test(timeout=60000)
+  @Ignore ("Needs work") @Test(timeout=60000)
   public void testWalRollOnLowReplication() throws Exception {
     store.unregisterListener(stopProcedureListener);
     store.registerListener(new ProcedureStore.ProcedureStoreListener() {
@@ -190,6 +191,7 @@ public class TestWALProcedureStoreOnHDFS {
 
       @Override
       public void abortProcess() {
+        LOG.info("Aborted!!!!");
       }
     });
     int dnCount = 0;
@@ -202,9 +204,12 @@ public class TestWALProcedureStoreOnHDFS {
         String msg = re.getMessage();
         // We could get a sync failed here...if the test cluster is crawling such that DN
recovery
         // is taking a long time. If we've done enough passes, just finish up the test as
a 'pass'
-        if (msg != null && msg.toLowerCase().contains("sync aborted") &&
i > 50) {
-          LOG.info("Returning early... We ran enough of this test", re);
-          return;
+        if (msg != null && msg.toLowerCase().contains("sync aborted")) {
+          LOG.info("i=" + i, re);
+          if (i > 50) {
+            LOG.info("Returning early... i=" + i + "...We ran enough of this test", re);
+            return;
+          }
         }
         throw re;
       }


Mime
View raw message