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

TestYarnCLI#testGetContainers should format according to CONTAINER_PATTERN

    Details

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

      Description

      TestYarnCLI#testGetContainers hard codes expected output of getting list of containers via Yarn CLI. If the timestamp is shorter than the number of expected characters in ApplicationCLI#CONTAINER_PATTERN (which is 20), the assert will fail due to whitespace.

        Attachments

        1. YARN-5550.003.patch
          4 kB
          Jonathan Hung
        2. YARN-5550.002.patch
          4 kB
          Jonathan Hung
        3. YARN-5550.001.patch
          4 kB
          Jonathan Hung

          Activity

            People

            • Assignee:
              jhung Jonathan Hung
              Reporter:
              jhung Jonathan Hung
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: