HBASE-9187 HBaseAdmin#testTableExists can go zombie
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1512564 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
49b79cd4ca
commit
e452cfe08a
|
@ -627,7 +627,7 @@ public class TestAdmin {
|
|||
HTableDescriptor desc = new HTableDescriptor(TableName.valueOf(tableName));
|
||||
desc.addFamily(new HColumnDescriptor(HConstants.CATALOG_FAMILY));
|
||||
admin.createTable(desc, splitKeys);
|
||||
|
||||
|
||||
boolean tableAvailable = admin.isTableAvailable(Bytes.toString(tableName), splitKeys);
|
||||
assertTrue("Table should be created with splitKyes + 1 rows in META", tableAvailable);
|
||||
|
||||
|
@ -826,7 +826,7 @@ public class TestAdmin {
|
|||
}
|
||||
}
|
||||
|
||||
@Test (timeout=300000)
|
||||
@Test (timeout=120000)
|
||||
public void testTableExist() throws IOException {
|
||||
final byte [] table = Bytes.toBytes("testTableExist");
|
||||
boolean exist;
|
||||
|
@ -1729,4 +1729,4 @@ public class TestAdmin {
|
|||
ct.stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue