Author: garyh
Date: Mon Apr 11 19:22:47 2011
New Revision: 1091174

URL: http://svn.apache.org/viewvc?rev=1091174&view=rev
Log:
HBASE-3762  HTableFactory.releaseHTableInterface() should throw IOException not 
wrap in RTE (test fix)

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java

Modified: 
hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java
URL: 
http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java?rev=1091174&r1=1091173&r2=1091174&view=diff
==============================================================================
--- 
hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java 
(original)
+++ 
hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java 
Mon Apr 11 19:22:47 2011
@@ -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


Reply via email to