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

Improve the assertion message in TestGPUResourceHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: