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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • 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

              Unassigned Unassigned
              yufeigu Yufei Gu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: