Skip to content

Commit

Permalink
Update LocalCIIntegrationTest.java
Browse files Browse the repository at this point in the history
remove useless line
  • Loading branch information
BBesrour authored Dec 16, 2024
1 parent 2d2f7e5 commit a9f4e2f
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ void testBuildJobTimeoutPersistence() {
InspectImageCmd inspectImageCmd = mock(InspectImageCmd.class);
InspectImageResponse inspectImageResponse = new InspectImageResponse();
doReturn(inspectImageCmd).when(dockerClient).inspectImageCmd(anyString());
doReturn(inspectImageResponse).when(inspectImageCmd).exec();
doAnswer(invocation -> {
var future = scheduler.schedule(() -> inspectImageResponse, 3, TimeUnit.SECONDS);
return future.get(4, TimeUnit.SECONDS);
Expand Down

0 comments on commit a9f4e2f

Please sign in to comment.