From 9f5a22ff22b4841f78ac87c71c291456d20ef4d6 Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Wed, 13 Apr 2016 11:24:45 -0500 Subject: [PATCH] =?UTF-8?q?HDFS-10270.=20TestJMXGet:testNameNode()=20fails?= =?UTF-8?q?.=20Contributed=20by=20Gergely=20Nov=C3=A1k?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit d2f3bbc29046435904ad9418073795439c71b441) (cherry picked from commit ccaf746eeacfafc7392a994f28ee9dbf595c84af) --- .../src/test/java/org/apache/hadoop/tools/TestJMXGet.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java index 278fbb80dad..769c7f1346f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java @@ -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();