HBASE-6928 TestStoreFile sometimes fails with 'Column family prefix used twice'

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1393284 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-10-03 04:10:21 +00:00
parent 7bed701850
commit e64430e970
1 changed files with 3 additions and 2 deletions

View File

@ -80,13 +80,14 @@ public class TestStoreFile extends HBaseTestCase {
@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);
}
/**