HBASE-12764 TestPerColumnFamilyFlush#testCompareStoreFileCount may fail due to new table not available

This commit is contained in:
tedyu 2014-12-27 21:10:47 -08:00
parent 317d137452
commit 9abab54d8e
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ public class TestPerColumnFamilyFlush {
TEST_UTIL.getHBaseAdmin().createNamespace(
NamespaceDescriptor.create(TABLENAME.getNamespaceAsString()).build());
TEST_UTIL.getHBaseAdmin().createTable(htd);
getRegionWithName(TABLENAME).getFirst();
TEST_UTIL.waitTableAvailable(TABLENAME);
Connection conn = ConnectionFactory.createConnection(conf);
Table table = conn.getTable(TABLENAME);
doPut(table, memstoreFlushSize);