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

(cherry picked from commit 34a3900773)
This commit is contained in:
rohithsharmaks 2016-01-22 21:17:26 +05:30
parent b5db1d4410
commit 1cec12d95a
2 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,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 class TestAMRMClientOnRMRestart {
// request
nm1.nodeHeartbeat(containerId.getApplicationAttemptId(),
containerId.getContainerId(), ContainerState.RUNNING);
dispatcher.await();
amClient.requestContainerResourceChange(
container, Resource.newInstance(2048, 1));
it.remove();