YARN-9798. ApplicationMasterServiceTestBase#testRepeatedFinishApplicationMaster fails intermittently. Contributed by Tao Yang.
This commit is contained in:
parent
a2d083f2c5
commit
eeccd2f6f6
@ -382,6 +382,7 @@ protected Dispatcher createDispatcher() {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
am1.unregisterAppAttempt(req, false);
|
||||
}
|
||||
rm.drainEvents();
|
||||
Assert.assertEquals("Expecting only one event", 1,
|
||||
dispatcher.getEventCount());
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user