HBASE-18120 Fix TestAsyncRegionAdminApi

Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
huzheng 2017-05-18 14:31:31 +08:00 committed by Michael Stack
parent b74474dfc9
commit 712beb305e
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ public class TestAsyncRegionAdminApi extends TestAsyncAdminBase {
throws IOException, InterruptedException {
HTableDescriptor desc = new HTableDescriptor(tableName);
desc.addFamily(new HColumnDescriptor(FAMILY));
admin.createTable(desc, Bytes.toBytes("A"), Bytes.toBytes("Z"), 5);
admin.createTable(desc, Bytes.toBytes("A"), Bytes.toBytes("Z"), 5).get();
// wait till the table is assigned
HMaster master = TEST_UTIL.getHBaseCluster().getMaster();