HBASE-3405 Allow HBaseRpcMetrics to register custom interface methods (test fix)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1056161 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Helmling 2011-01-07 02:08:54 +00:00
parent f64db932fd
commit 19008eda37
1 changed files with 3 additions and 0 deletions

View File

@ -104,10 +104,13 @@ public class TestRpcMetrics {
MetricsContext ctx = MetricsUtil.getContext("rpc"); MetricsContext ctx = MetricsUtil.getContext("rpc");
assertTrue("Wrong MetricContext implementation class", assertTrue("Wrong MetricContext implementation class",
(ctx instanceof MockMetricsContext)); (ctx instanceof MockMetricsContext));
TEST_UTIL.startMiniZKCluster();
} }
@AfterClass @AfterClass
public static void tearDownAfterClass() throws Exception { public static void tearDownAfterClass() throws Exception {
TEST_UTIL.shutdownMiniZKCluster();
} }
@Test @Test