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

This commit is contained in:
tedyu 2014-12-27 21:11:59 -08:00
parent feb71872a3
commit 978d90b557
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);