You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chang Li (JIRA)" <ji...@apache.org> on 2016/02/02 18:04:39 UTC

[jira] [Updated] (HDFS-9740) Use a reasonable limit in DFSTestUtil.waitForMetric()

     [ https://issues.apache.org/jira/browse/HDFS-9740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chang Li updated HDFS-9740:
---------------------------
    Attachment: HDFS-9740.patch

> Use a reasonable limit in DFSTestUtil.waitForMetric()
> -----------------------------------------------------
>
>                 Key: HDFS-9740
>                 URL: https://issues.apache.org/jira/browse/HDFS-9740
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>            Assignee: Chang Li
>         Attachments: HDFS-9740.patch
>
>
> If test is detecting a bug, it will probably hit the long surefire timeout because the max is {{Integer.MAX_VALUE}}.  Use something more realistic. The default jmx update interval is 10 seconds, so something like 60 seconds should be more than enough.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)