HBASE-12764 TestPerColumnFamilyFlush#testCompareStoreFileCount may fail due to new table not available
This commit is contained in:
parent
feb71872a3
commit
978d90b557
|
@ -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