YARN-3564. Fix TestContainerAllocation.testAMContainerAllocationWhenDNSUnavailable fails randomly. (Jian He via wangda)

(cherry picked from commit e2e8f77118)
This commit is contained in:
Wangda Tan 2015-04-30 11:03:13 -07:00
parent fdb886d656
commit 100b41add6
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -325,7 +325,6 @@ public class TestContainerAllocation {
}
SecurityUtilTestHelper.setTokenServiceUseIp(false);
rm1.waitForState(attempt.getAppAttemptId(), RMAppAttemptState.ALLOCATED);
MockRM.launchAndRegisterAM(app1, rm1, nm1);
}
}