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

Refactor NM ContainerLaunch#getEnvDependencies's unit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0
    • yarn
    • Reviewed

    Description

      The YARN-10355 ticket states that the unit tests contains repeated code and the test methods are too long. We decided to split that ticket into two parts. The YARN-10355 will contain only the production code change (for the windows variant, the linux variant refactor is not feasible with regex, the original code is not the nicest, but it does it's thing).

       

      Acceptance criteria:

      • refactor the unit tests (e.g.: parameterised tests)
      • extend the tests with extra checks

      Attachments

        Issue Links

          Activity

            People

              tdomok Tamas Domok
              tdomok Tamas Domok
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m