[ https://issues.apache.org/jira/browse/HDFS-10318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andras Bokor updated HDFS-10318: -------------------------------- Description: When a metric has incorrect value the DFSTestUtil.waitForMetric waits 60 sec then throws TimeoutException with thread diagnostic as error message so our asserts will not reached. Please check [^TestJMXGetFails.log] for the error message. (was: It fails with java.util.concurrent.TimeoutException. Actually the problem here is that we expect 2 as NumOpenConnections metric but it is only 1. So the test waits 60 sec then fails. Please find maven output so the stack trace attached ([^TestJMXGetFails.log]).) > TestJMXGet hides the real error in case of test failure > ------------------------------------------------------- > > Key: HDFS-10318 > URL: https://issues.apache.org/jira/browse/HDFS-10318 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 3.0.0, 2.8.0 > Reporter: Andras Bokor > Assignee: Andras Bokor > Priority: Minor > Fix For: 2.8.0 > > Attachments: TestJMXGetFails.log > > > When a metric has incorrect value the DFSTestUtil.waitForMetric waits 60 sec > then throws TimeoutException with thread diagnostic as error message so our > asserts will not reached. Please check [^TestJMXGetFails.log] for the error > message. -- This message was sent by Atlassian JIRA (v6.3.4#6332)