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
e8c253d500
commit
f8f995629d
|
@ -15,6 +15,9 @@ Release 2.7.4 - UNRELEASED
|
|||
YARN-5197. RM leaks containers if running container disappears from
|
||||
node update. Contributed by Jason Lowe.
|
||||
|
||||
YARN-4393. Fix intermittent test failure for TestResourceLocalizationService
|
||||
#testFailedDirsResourceRelease (Varun Saxana via rohithsharmaks)
|
||||
|
||||
Release 2.7.3 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -2607,6 +2607,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