hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1439025 - /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java
Date Sun, 27 Jan 2013 05:40:30 GMT
Author: larsh
Date: Sun Jan 27 05:40:30 2013
New Revision: 1439025

URL: http://svn.apache.org/viewvc?rev=1439025&view=rev
Log:
HBASE-7681 Addendum, close tables in TestRegionServerMetrics

Modified:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java?rev=1439025&r1=1439024&r2=1439025&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java
Sun Jan 27 05:40:30 2013
@@ -201,6 +201,7 @@ public class TestRegionServerMetrics {
       // Three gets. one for gets. One for append. One for increment.
       assertTimeVaryingMetricCount(4, TABLE_NAME, cf, regionName, "get_");
   
+      hTable.close();
     }
   
   @Test
@@ -227,6 +228,8 @@ public class TestRegionServerMetrics {
     admin.deleteTable(TABLE_NAME.getBytes());
 
     assertTimeVaryingMetricCount(0, TABLE_NAME, cf, regionName, "get_");
+
+    hTable.close();
   }
   
   @Test
@@ -346,6 +349,8 @@ public class TestRegionServerMetrics {
     }
     assertSizeMetric(tableName, cfs,
         new int[] {kvLength, kvLength, kvLength, kvLength});
+
+    hTable.close();
   }
 }
 



Mime
View raw message