HDFS-10270. TestJMXGet:testNameNode() fails. Contributed by Gergely Novák

(cherry picked from commit d2f3bbc290)
(cherry picked from commit ccaf746eea)
This commit is contained in:
Kihwal Lee 2016-04-13 11:24:45 -05:00 committed by Zhe Zhang
parent de96efec25
commit 9f5a22ff22
1 changed files with 0 additions and 3 deletions

View File

@ -120,9 +120,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();