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