(cherry picked from commit e2e8f771183df798e926abc97116316a05b19c9a)
@@ -226,6 +226,9 @@ Release 2.8.0 - UNRELEASED
YARN-3533. Test: Fix launchAM in MockRM to wait for attempt to be scheduled.
(Anubhav Dhoot via jianhe)
+ YARN-3564. Fix TestContainerAllocation.testAMContainerAllocationWhenDNSUnavailable
+ fails randomly. (Jian He via wangda)
+
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES
@@ -325,7 +325,6 @@ public class TestContainerAllocation {
}
SecurityUtilTestHelper.setTokenServiceUseIp(false);
- rm1.waitForState(attempt.getAppAttemptId(), RMAppAttemptState.ALLOCATED);
MockRM.launchAndRegisterAM(app1, rm1, nm1);