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

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

Kihwal Lee created HDFS-9740:
--------------------------------

             Summary: 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


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)