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

This commit is contained in:
Wangda Tan 2015-04-30 11:03:13 -07:00
parent de9404f02f
commit e2e8f77118
2 changed files with 3 additions and 1 deletions

View File

@ -274,6 +274,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 @@ protected RMSecretManagerService createRMSecretManagerService() {
}
SecurityUtilTestHelper.setTokenServiceUseIp(false);
rm1.waitForState(attempt.getAppAttemptId(), RMAppAttemptState.ALLOCATED);
MockRM.launchAndRegisterAM(app1, rm1, nm1);
}
}