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

Explore a better way than sleeping for a while in some test cases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The following unit test cases failed because we removed the minimum wait time for attempt in YARN-4807. I manually added sleeps so the tests pass and added a TODO in the code. We can explore a better way to do it.

      • TestAMRestart.testRMAppAttemptFailuresValidityInterval
      • TestApplicationMasterService.testResourceTypes
      • TestContainerResourceUsage.testUsageAfterAMRestartWithMultipleContainers
      • TestRMApplicationHistoryWriter.testRMWritingMassiveHistoryForFairSche
      • TestRMApplicationHistoryWriter.testRMWritingMassiveHistoryForCapacitySche

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                snemeth Szilard Nemeth
                Reporter:
                yufeigu Yufei Gu
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: