Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9774

Fix order of arguments for assertEquals in TestSLSUtils

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.2.1, 3.1.3
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      According to documentation of assertEquals, correct order of parameters is (expected, actual). It seems like assertEquals statements in testGetRackHostname method of TestSLSUtils class have wrong order of parameters.

        Attachments

        1. YARN-9774.001.patch
          1 kB
          Nikhil Navadiya

          Activity

            People

            • Assignee:
              nikhil.navadiya Nikhil Navadiya
              Reporter:
              nikhil.navadiya Nikhil Navadiya
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: