HBASE-19391 Calling HRegion#initializeRegionInternals from a region replica can 
still re-create a region directory; ADDEDNDUM to fix TestRegionOpen failure


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

Branch: refs/heads/branch-1.4
Commit: 569f16ea2c477ae5abee6d242a8806b815457f32
Parents: 2d12ae2
Author: Michael Stack <st...@apache.org>
Authored: Thu Feb 22 09:14:35 2018 -0800
Committer: Andrew Purtell <apurt...@apache.org>
Committed: Fri Feb 23 17:03:03 2018 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/TestRegionOpen.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/569f16ea/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
index edb1d52..62aabce 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
@@ -47,6 +47,7 @@ import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.FSUtils;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -97,7 +98,8 @@ public class TestRegionOpen {
     assertEquals(2, exec.getCompletedTaskCount());
   }
 
-  @Test(timeout = 60000)
+  @Ignore // Needs rewrite since HBASE-19391 which returns null out of 
createRegionOnFileSystem
+  @Test
   public void testNonExistentRegionReplica() throws Exception {
     final TableName tableName = TableName.valueOf(name.getMethodName());
     final byte[] FAMILYNAME = Bytes.toBytes("fam");

Reply via email to