Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9740

Use a reasonable limit in DFSTestUtil.waitForMetric()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • test
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-9740.patch
          0.6 kB
          Chang Li
        2. HDFS-9740-branch-2.7.patch
          2 kB
          Vinayakumar B
        3. HDFS-9740-branch-2.patch
          1 kB
          Vinayakumar B

        Activity

          People

            lichangleo Chang Li
            kihwal Kihwal Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: