HBASE-13812 Deleting of last Column Family of a table should not be allowed (ADDENDUM for failing unit test)
This commit is contained in:
parent
9a4ae799c7
commit
1895f99faf
|
@ -306,7 +306,7 @@ public class TestHFileArchiving {
|
||||||
public void testArchiveOnTableFamilyDelete() throws Exception {
|
public void testArchiveOnTableFamilyDelete() throws Exception {
|
||||||
TableName TABLE_NAME =
|
TableName TABLE_NAME =
|
||||||
TableName.valueOf("testArchiveOnTableFamilyDelete");
|
TableName.valueOf("testArchiveOnTableFamilyDelete");
|
||||||
UTIL.createTable(TABLE_NAME, TEST_FAM);
|
UTIL.createTable(TABLE_NAME, new byte[][] {TEST_FAM, Bytes.toBytes("fam2")});
|
||||||
|
|
||||||
List<HRegion> servingRegions = UTIL.getHBaseCluster().getRegions(TABLE_NAME);
|
List<HRegion> servingRegions = UTIL.getHBaseCluster().getRegions(TABLE_NAME);
|
||||||
// make sure we only have 1 region serving this table
|
// make sure we only have 1 region serving this table
|
||||||
|
|
Loading…
Reference in New Issue