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 5947730d402 Bump timeout for slow CI servers
5947730d402 is described below
commit 5947730d4020ed29bc62f9db102e8855b9bc61a6
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Aug 19 08:50:02 2024 +0200
Bump timeout for slow CI servers
---
.../test/java/org/apache/camel/support/cache/SimpleLRUCacheTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/camel-core/src/test/java/org/apache/camel/support/cache/SimpleLRUCacheTest.java
b/core/camel-core/src/test/java/org/apache/camel/support/cache/SimpleLRUCacheTest.java
index 9261a96650c..0f6f98baca2 100644
---
a/core/camel-core/src/test/java/org/apache/camel/support/cache/SimpleLRUCacheTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/support/cache/SimpleLRUCacheTest.java
@@ -347,7 +347,7 @@ class SimpleLRUCacheTest {
}
}).start();
}
- assertTrue(latch.await(10, TimeUnit.SECONDS), "Should have completed
within a reasonable timeframe");
+ assertTrue(latch.await(20, TimeUnit.SECONDS), "Should have completed
within a reasonable timeframe");
assertEquals(maximumCacheSize, cache.size());
assertEquals(totalKeysPerThread * threads - maximumCacheSize,
counter.get());
}
@@ -371,7 +371,7 @@ class SimpleLRUCacheTest {
}
}).start();
}
- assertTrue(latch.await(10, TimeUnit.SECONDS), "Should have completed
within a reasonable timeframe");
+ assertTrue(latch.await(20, TimeUnit.SECONDS), "Should have completed
within a reasonable timeframe");
assertEquals(maximumCacheSize, cache.size());
counter.set(0);
for (int j = 0; j < maximumCacheSize; j++) {