[ https://issues.apache.org/jira/browse/HDFS-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214890#comment-13214890 ]
Suresh Srinivas commented on HDFS-3002: --------------------------------------- In that jira, we are still adding wait time. I agree that our wait times for an even to happen could make the tests flaky. The main point of this jira is to not wait for updation of metrics. Perhaps I can add this comment to that jira and close this. > TestNameNodeMetrics need not wait for metrics update with new metrics > framework > ------------------------------------------------------------------------------- > > Key: HDFS-3002 > URL: https://issues.apache.org/jira/browse/HDFS-3002 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test > Affects Versions: 0.23.0, 0.24.0 > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Priority: Trivial > Attachments: HDFS-3002.patch > > > With older metrics framework, the namenode metrics was updated by replication > thread. This required test having to wait for replication interval. This is > no longer necessary with metrics2 framework. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira