YARN-4574. Fix random failure in TestAMRMClientOnRMRestart. (Takashi Ohnishi via rohithsharmaks)

This commit is contained in:
rohithsharmaks 2016-01-22 21:17:26 +05:30
parent 2fd19b9674
commit 34a3900773
2 changed files with 4 additions and 0 deletions

View File

@ -146,6 +146,9 @@ Release 2.9.0 - UNRELEASED
YARN-4497. RM might fail to restart when recovering apps whose attempts are missing.
(Jun Gong via rohithsharmaks)
YARN-4574. Fix random failure in TestAMRMClientOnRMRestart.
(Takashi Ohnishi via rohithsharmaks)
Release 2.8.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -219,6 +219,7 @@ public void testAMRMClientResendsRequestsOnRMRestart() throws Exception {
// request
nm1.nodeHeartbeat(containerId.getApplicationAttemptId(),
containerId.getContainerId(), ContainerState.RUNNING);
dispatcher.await();
amClient.requestContainerResourceChange(
container, Resource.newInstance(2048, 1));
it.remove();