hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1393284 - /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreFile.java
Date Wed, 03 Oct 2012 04:10:21 GMT
Author: stack
Date: Wed Oct  3 04:10:21 2012
New Revision: 1393284

URL: http://svn.apache.org/viewvc?rev=1393284&view=rev
Log:
HBASE-6928 TestStoreFile sometimes fails with 'Column family prefix used twice'

Modified:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreFile.java

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreFile.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreFile.java?rev=1393284&r1=1393283&r2=1393284&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreFile.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreFile.java
Wed Oct  3 04:10:21 2012
@@ -80,13 +80,14 @@ public class TestStoreFile extends HBase
   @Override
   public void setUp() throws Exception {
     super.setUp();
-    startingMetrics = SchemaMetrics.getMetricsSnapshot();
+    this.startingMetrics = SchemaMetrics.getMetricsSnapshot();
   }
 
   @Override
   public void tearDown() throws Exception {
     super.tearDown();
-    SchemaMetrics.validateMetricChanges(startingMetrics);
+    LOG.info("Verifying metrics for " + getName() + ": " + this.startingMetrics);
+    SchemaMetrics.validateMetricChanges(this.startingMetrics);
   }
 
   /**



Mime
View raw message