YARN-4633. Fix random test failure in TestRMRestart#testRMRestartAfterPreemption. (Bibin A Chundatt via rohithsharmaks)

(cherry picked from commit ef343be82b)
This commit is contained in:
Rohith Sharma K S 2016-01-28 21:53:45 +05:30
parent db7ff115c0
commit 6947a5d4be
2 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,9 @@ Release 2.9.0 - UNRELEASED
YARN-4573. Fix test failure in TestRMAppTransitions#testAppRunningKill and
testAppKilledKilled. (Takashi Ohnishi via rohithsharmaks)
YARN-4633. Fix random test failure in TestRMRestart#testRMRestartAfterPreemption
(Bibin A Chundatt via rohithsharmaks)
Release 2.8.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -2359,6 +2359,7 @@ public void testRMRestartAfterPreemption() throws Exception {
// kill app0-attempt
cs.killPreemptedContainer(schedulerAppAttempt.getRMContainer(
app0.getCurrentAppAttempt().getMasterContainer().getId()));
am0.waitForState(RMAppAttemptState.FAILED);
}
am0 = MockRM.launchAM(app0, rm1, nm1);
am0.registerAppAttempt();