From e452cfe08a44d0bd79095432e50cbc2855892be7 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sat, 10 Aug 2013 05:12:04 +0000 Subject: [PATCH] HBASE-9187 HBaseAdmin#testTableExists can go zombie git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1512564 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/java/org/apache/hadoop/hbase/client/TestAdmin.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java index 49058a6c6db..328e5e9e9b8 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java @@ -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(); } } -} \ No newline at end of file +}