HBASE-19391 Calling HRegion#initializeRegionInternals from a region replica can still re-create a region directory; ADDEDNDUM to fix TestRegionOpen failure
This commit is contained in:
parent
af1f7cf431
commit
cadc2efd12
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user