Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Dec 6, 2023
1 parent aef2c92 commit 0929dac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ void test() throws IOException {
logger.warn("Using control image: " + controlImage);

final PodResource checkerSelector = run(CHECKER, checkerImage);
await().pollInterval(1, TimeUnit.SECONDS).ignoreExceptions().atMost(1, TimeUnit.MINUTES).until(() -> {
await().pollInterval(1, TimeUnit.SECONDS).ignoreExceptions().atMost(5, TimeUnit.MINUTES).until(() -> {
assertEquals("Running", checkerSelector.get().getStatus().getPhase());
return true;
});

final PodResource controlSelector = run(CONTROL, controlImage);
await().pollInterval(1, TimeUnit.SECONDS).ignoreExceptions().atMost(1, TimeUnit.MINUTES).until(() -> {
await().pollInterval(1, TimeUnit.SECONDS).ignoreExceptions().atMost(5, TimeUnit.MINUTES).until(() -> {
assertTrue(checkerSelector.getLog().contains("Update received, and it's in the correct order, counter: 1"));
return true;
});
Expand Down

0 comments on commit 0929dac

Please sign in to comment.