Skip to content

Commit

Permalink
Flaky test on CI on slow CI servers
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Jan 8, 2025
1 parent d510df5 commit 3bb7ca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void testCacheConsumers() {

// the eviction is async so force cleanup
template.cleanUp();
await().atMost(1, TimeUnit.SECONDS).until(() -> template.getCurrentCacheSize() == 200);
await().atMost(5, TimeUnit.SECONDS).until(() -> template.getCurrentCacheSize() == 200);
assertEquals(200, template.getCurrentCacheSize(), "Size should be 200");
template.stop();

Expand Down

0 comments on commit 3bb7ca4

Please sign in to comment.