Skip to content

Commit

Permalink
formatting lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh Gupta committed Sep 15, 2022
1 parent 1cbbcec commit 37be43c
Showing 1 changed file with 3 additions and 6 deletions.
Expand Up @@ -284,12 +284,9 @@ public void testOutOfOrder() throws Exception {
verify(mockCM).startContainers(any(StartContainersRequest.class));

LOG.info("inserting cleanup event");
ContainerLauncherEvent mockCleanupEvent2 =
mock(ContainerLauncherEvent.class);
when(mockCleanupEvent2.getType())
.thenReturn(EventType.CONTAINER_REMOTE_CLEANUP);
when(mockCleanupEvent2.getContainerID())
.thenReturn(contId);
ContainerLauncherEvent mockCleanupEvent2 = mock(ContainerLauncherEvent.class);
when(mockCleanupEvent2.getType()).thenReturn(EventType.CONTAINER_REMOTE_CLEANUP);
when(mockCleanupEvent2.getContainerID()).thenReturn(contId);
when(mockCleanupEvent2.getTaskAttemptID()).thenReturn(taskAttemptId);
when(mockCleanupEvent2.getContainerMgrAddress()).thenReturn(cmAddress);
ut.handle(mockCleanupEvent2);
Expand Down

0 comments on commit 37be43c

Please sign in to comment.