YARN-4633. Fix random test failure in TestRMRestart#testRMRestartAfterPreemption. (Bibin A Chundatt via rohithsharmaks)
(cherry picked from commit ef343be82b
)
This commit is contained in:
parent
db7ff115c0
commit
6947a5d4be
|
@ -109,6 +109,9 @@ Release 2.9.0 - UNRELEASED
|
||||||
YARN-4573. Fix test failure in TestRMAppTransitions#testAppRunningKill and
|
YARN-4573. Fix test failure in TestRMAppTransitions#testAppRunningKill and
|
||||||
testAppKilledKilled. (Takashi Ohnishi via rohithsharmaks)
|
testAppKilledKilled. (Takashi Ohnishi via rohithsharmaks)
|
||||||
|
|
||||||
|
YARN-4633. Fix random test failure in TestRMRestart#testRMRestartAfterPreemption
|
||||||
|
(Bibin A Chundatt via rohithsharmaks)
|
||||||
|
|
||||||
Release 2.8.0 - UNRELEASED
|
Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -2359,6 +2359,7 @@ public class TestRMRestart extends ParameterizedSchedulerTestBase {
|
||||||
// kill app0-attempt
|
// kill app0-attempt
|
||||||
cs.killPreemptedContainer(schedulerAppAttempt.getRMContainer(
|
cs.killPreemptedContainer(schedulerAppAttempt.getRMContainer(
|
||||||
app0.getCurrentAppAttempt().getMasterContainer().getId()));
|
app0.getCurrentAppAttempt().getMasterContainer().getId()));
|
||||||
|
am0.waitForState(RMAppAttemptState.FAILED);
|
||||||
}
|
}
|
||||||
am0 = MockRM.launchAM(app0, rm1, nm1);
|
am0 = MockRM.launchAM(app0, rm1, nm1);
|
||||||
am0.registerAppAttempt();
|
am0.registerAppAttempt();
|
||||||
|
|
Loading…
Reference in New Issue