YARN-4393. Fix intermittent test failure for TestResourceLocalizationService#testFailedDirsResourceRelease (Varun Saxana via rohithsharmaks)
This commit is contained in:
parent
c213ee0859
commit
791c1639ae
@ -105,6 +105,9 @@ Release 2.9.0 - UNRELEASED
|
|||||||
YARN-4535. Fix checkstyle error in CapacityScheduler.java
|
YARN-4535. Fix checkstyle error in CapacityScheduler.java
|
||||||
(Naganarasimha G R via rohithsharmaks)
|
(Naganarasimha G R via rohithsharmaks)
|
||||||
|
|
||||||
|
YARN-4393. Fix intermittent test failure for TestResourceLocalizationService
|
||||||
|
#testFailedDirsResourceRelease (Varun Saxana via rohithsharmaks)
|
||||||
|
|
||||||
Release 2.8.0 - UNRELEASED
|
Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -2629,6 +2629,8 @@ public class TestResourceLocalizationService {
|
|||||||
new ApplicationLocalizationEvent(
|
new ApplicationLocalizationEvent(
|
||||||
LocalizationEventType.DESTROY_APPLICATION_RESOURCES, app);
|
LocalizationEventType.DESTROY_APPLICATION_RESOURCES, app);
|
||||||
spyService.handle(destroyApp);
|
spyService.handle(destroyApp);
|
||||||
|
// Waits for APPLICATION_RESOURCES_CLEANEDUP event to be handled.
|
||||||
|
dispatcher.await();
|
||||||
verify(applicationBus).handle(argThat(matchesAppDestroy));
|
verify(applicationBus).handle(argThat(matchesAppDestroy));
|
||||||
|
|
||||||
// verify we got the right delete calls
|
// verify we got the right delete calls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user