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:
Gary Helmling 2011-04-11 19:22:47 +00:00
parent a7f8453d50
commit f616c0c709
1 changed files with 2 additions and 2 deletions

View File

@ -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