YARN-9262. TestRMAppAttemptTransitions is failing with an NPE. Contributed by lujie.
This commit is contained in:
parent
2c13513040
commit
28ad20a711
@ -1656,7 +1656,7 @@ public void testContainerRemovedBeforeAllocate() {
|
||||
when(allocation.getContainers()).
|
||||
thenReturn(Collections.singletonList(container));
|
||||
when(scheduler.allocate(any(ApplicationAttemptId.class), any(List.class),
|
||||
any(List.class), any(List.class), any(List.class), any(List.class),
|
||||
any(), any(), any(), any(),
|
||||
any(ContainerUpdates.class))).
|
||||
thenReturn(allocation);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user