HBASE-3762 HTableFactory.releaseHTableInterface() should throw IOException not wrap in RTE (test fix)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1091174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a7f8453d50
commit
f616c0c709
|
@ -52,7 +52,7 @@ public class TestHTablePool {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testTableWithStringName() {
|
||||
public void testTableWithStringName() throws Exception {
|
||||
HTablePool pool =
|
||||
new HTablePool(TEST_UTIL.getConfiguration(), Integer.MAX_VALUE);
|
||||
String tableName = Bytes.toString(TABLENAME);
|
||||
|
@ -86,7 +86,7 @@ public class TestHTablePool {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testTableWithMaxSize() {
|
||||
public void testTableWithMaxSize() throws Exception {
|
||||
HTablePool pool = new HTablePool(TEST_UTIL.getConfiguration(), 2);
|
||||
|
||||
// Request tables from an empty pool
|
||||
|
|
Loading…
Reference in New Issue