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

Fix order of arguments for assertEquals in TestSLSUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.0, 3.2.1, 3.1.3
    • test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: