This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 3bb7ca4f224 Flaky test on CI on slow CI servers
3bb7ca4f224 is described below

commit 3bb7ca4f22419364382be6cb8e057d81c856568e
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 8 16:34:48 2025 +0100

    Flaky test on CI on slow CI servers
---
 .../camel/impl/DefaultConsumerTemplateWithCustomCacheMaxSizeTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateWithCustomCacheMaxSizeTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateWithCustomCacheMaxSizeTest.java
index befd85c30bf..528a26540b1 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateWithCustomCacheMaxSizeTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateWithCustomCacheMaxSizeTest.java
@@ -53,7 +53,7 @@ public class 
DefaultConsumerTemplateWithCustomCacheMaxSizeTest extends ContextTe
 
         // 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();
 

Reply via email to