HBASE-13369 Addendum deletes the table at the end of test
This commit is contained in:
parent
64941c6151
commit
452ce33ef5
|
@ -367,6 +367,10 @@ public class TestRegionServerMetrics {
|
|||
}
|
||||
metricsHelper.assertCounter("ScanNext_num_ops", numScanNext, serverSource);
|
||||
}
|
||||
try (Admin admin = TEST_UTIL.getHBaseAdmin()) {
|
||||
admin.disableTable(tableName);
|
||||
admin.deleteTable(tableName);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -413,5 +417,9 @@ public class TestRegionServerMetrics {
|
|||
}
|
||||
metricsHelper.assertCounter("ScanNext_num_ops", numScanNext, serverSource);
|
||||
}
|
||||
try (Admin admin = TEST_UTIL.getHBaseAdmin()) {
|
||||
admin.disableTable(tableName);
|
||||
admin.deleteTable(tableName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue