HDFS-10270. TestJMXGet:testNameNode() fails. Contributed by Gergely Novák
This commit is contained in:
parent
903428bf94
commit
d2f3bbc290
|
@ -111,9 +111,6 @@ public class TestJMXGet {
|
|||
jmx.getValue("NumLiveDataNodes")));
|
||||
assertGauge("CorruptBlocks", Long.parseLong(jmx.getValue("CorruptBlocks")),
|
||||
getMetrics("FSNamesystem"));
|
||||
DFSTestUtil.waitForMetric(jmx, "NumOpenConnections", numDatanodes);
|
||||
assertEquals(numDatanodes, Integer.parseInt(
|
||||
jmx.getValue("NumOpenConnections")));
|
||||
|
||||
cluster.shutdown();
|
||||
MBeanServerConnection mbsc = ManagementFactory.getPlatformMBeanServer();
|
||||
|
|
Loading…
Reference in New Issue