HBASE-13812 Deleting of last Column Family of a table should not be allowed (ADDENDUM for failing unit test)

This commit is contained in:
Enis Soztutar 2015-06-01 11:43:37 -07:00
parent 9a4ae799c7
commit 1895f99faf
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ public class TestHFileArchiving {
public void testArchiveOnTableFamilyDelete() throws Exception {
TableName TABLE_NAME =
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);
// make sure we only have 1 region serving this table