HBASE-12764 TestPerColumnFamilyFlush#testCompareStoreFileCount may fail due to new table not available
This commit is contained in:
parent
317d137452
commit
9abab54d8e
|
@ -539,7 +539,7 @@ public class TestPerColumnFamilyFlush {
|
||||||
TEST_UTIL.getHBaseAdmin().createNamespace(
|
TEST_UTIL.getHBaseAdmin().createNamespace(
|
||||||
NamespaceDescriptor.create(TABLENAME.getNamespaceAsString()).build());
|
NamespaceDescriptor.create(TABLENAME.getNamespaceAsString()).build());
|
||||||
TEST_UTIL.getHBaseAdmin().createTable(htd);
|
TEST_UTIL.getHBaseAdmin().createTable(htd);
|
||||||
getRegionWithName(TABLENAME).getFirst();
|
TEST_UTIL.waitTableAvailable(TABLENAME);
|
||||||
Connection conn = ConnectionFactory.createConnection(conf);
|
Connection conn = ConnectionFactory.createConnection(conf);
|
||||||
Table table = conn.getTable(TABLENAME);
|
Table table = conn.getTable(TABLENAME);
|
||||||
doPut(table, memstoreFlushSize);
|
doPut(table, memstoreFlushSize);
|
||||||
|
|
Loading…
Reference in New Issue