Skip to content

Commit

Permalink
Increase wait for eventually equals
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Littley <austin@swirldslabs.com>
  • Loading branch information
litt3 committed Feb 8, 2024
1 parent 119fe64 commit 9dac633
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2362,7 +2362,7 @@ void squelching(final String typeString) {
inputWire.inject(i);
}

assertEventuallyTrue(() -> handleCount.get() > 5, Duration.ofMillis(10), "Some tasks should get handled");
assertEventuallyTrue(() -> handleCount.get() > 5, Duration.ofSeconds(1), "Some tasks should get handled");
assertTrue(taskScheduler.getUnprocessedTaskCount() > 10, "There should be some unprocessed tasks");

taskScheduler.startSquelching();
Expand Down

0 comments on commit 9dac633

Please sign in to comment.