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 c1edabf1ea6 CAMEL-21195: disabled flaky test on ASF CI (#15510)
c1edabf1ea6 is described below

commit c1edabf1ea66c3623e8a16d9374932cc7663309e
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Sep 11 11:47:20 2024 +0200

    CAMEL-21195: disabled flaky test on ASF CI (#15510)
---
 .../test/java/org/apache/camel/support/cache/SimpleLRUCacheTest.java   | 3 +++
 1 file changed, 3 insertions(+)

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 959fee7f4ec..26db35b4486 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
@@ -24,6 +24,7 @@ import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicInteger;
 
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.parallel.Isolated;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.ValueSource;
@@ -40,6 +41,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
  * The test class for {@link SimpleLRUCache}.
  */
 @Isolated("Some of these tests creates a lot of threads")
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+                          disabledReason = "Apache CI nodes are too resource 
constrained for this test")
 class SimpleLRUCacheTest {
 
     private final List<String> consumed = new ArrayList<>();

Reply via email to