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

TestJMXGet hides the real error in case of test failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0, 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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.

        Attachments

        1. HDFS-10318.01.patch
          2 kB
          Andras Bokor
        2. TestJMXGetFails.log
          60 kB
          Andras Bokor

          Activity

            People

            • Assignee:
              boky01 Andras Bokor
              Reporter:
              boky01 Andras Bokor
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: