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

TestYarnCLI#testGetContainers should format according to CONTAINER_PATTERN

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.4
    • 2.8.0, 2.7.4, 3.0.0-alpha1
    • client, test
    • None
    • 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.001.patch
          4 kB
          Jonathan Hung
        2. YARN-5550.002.patch
          4 kB
          Jonathan Hung
        3. YARN-5550.003.patch
          4 kB
          Jonathan Hung

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: