From f616c0c70964fb4e88c3dc60c59d99b6d1d4759a Mon Sep 17 00:00:00 2001 From: Gary Helmling Date: Mon, 11 Apr 2011 19:22:47 +0000 Subject: [PATCH] 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 --- .../java/org/apache/hadoop/hbase/client/TestHTablePool.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java b/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java index a55935b8d29..d01043cd8a9 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java +++ b/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java @@ -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