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

Improve the assertion message in TestGPUResourceHandler

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In test case "testRecoverResourceAllocation".

      When recovery scheduler statue and a device id is already assigned to another container, the original assertion message is 

      "Should fail since requested device Id is not in allowed list"

      But should be

      "Should fail since requested device Id is already assigned"

        Attachments

        1. YARN-8974-trunk.001.patch
          1 kB
          Zhankun Tang

          Activity

            People

            • Assignee:
              tangzhankun Zhankun Tang
              Reporter:
              tangzhankun Zhankun Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: