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

Code cleanup in TestSchedConfCLI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0, 3.4.0
    • 3.3.0, 3.2.2, 3.4.0
    • test
    • None
    • Reviewed

    Description

      Some tests are too verbose:

      • add / delete / remove queues testcases: Creating SchedConfUpdateInfo instances could be simplified with a helper method or something like that.
      • Some fields can be converted to local variables: sysOutStream, sysOut, sysErr, csConf
      • Any additional cleanup

      Attachments

        1. YARN-9995.branch-3.2.patch
          10 kB
          Bilwa S T
        2. YARN-9995.004.patch
          13 kB
          Bilwa S T
        3. YARN-9995.003.patch
          13 kB
          Bilwa S T
        4. YARN-9995.002.patch
          13 kB
          Bilwa S T
        5. YARN-9995.001.patch
          13 kB
          Bilwa S T

        Activity

          People

            BilwaST Bilwa S T
            snemeth Szilard Nemeth
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: