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:
parent
f64db932fd
commit
19008eda37
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue