Skip to content

Commit

Permalink
allow retry in test
Browse files Browse the repository at this point in the history
  • Loading branch information
BarDweller committed Jul 16, 2024
1 parent 5dd945c commit 7b4698b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import static org.mockito.Mockito.when;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.lenient;
import static org.mockito.Mockito.atLeast;

import java.util.ArrayList;
import java.util.HashMap;
Expand Down Expand Up @@ -79,7 +80,7 @@ void testPullImageSingleUnknown(@Mock DockerConfig config,

ImageUtils.pullImages(config, imageName);

verify(pic).exec(ArgumentMatchers.any());
verify(pic, atLeast(1)).exec(ArgumentMatchers.any());
}

@Test
Expand Down

0 comments on commit 7b4698b

Please sign in to comment.