YARN-4393. Fix intermittent test failure for TestResourceLocalizationService#testFailedDirsResourceRelease (Varun Saxana via rohithsharmaks)
(cherry picked from commit 791c1639ae
)
Conflicts:
hadoop-yarn-project/CHANGES.txt
This commit is contained in:
parent
a0ddc5b3a5
commit
9d08ca1ed7
|
@ -2632,6 +2632,8 @@ public class TestResourceLocalizationService {
|
|||
new ApplicationLocalizationEvent(
|
||||
LocalizationEventType.DESTROY_APPLICATION_RESOURCES, app);
|
||||
spyService.handle(destroyApp);
|
||||
// Waits for APPLICATION_RESOURCES_CLEANEDUP event to be handled.
|
||||
dispatcher.await();
|
||||
verify(applicationBus).handle(argThat(matchesAppDestroy));
|
||||
|
||||
// verify we got the right delete calls
|
||||
|
|
Loading…
Reference in New Issue