This is an automated email from the ASF dual-hosted git repository. orpiske 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 8b2511628af (chores) camel-core: run the SimpleLRUCacheTest isolated from others 8b2511628af is described below commit 8b2511628afb20a1926d6b1df625b620acd8b3c7 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Mon Jul 22 10:36:22 2024 +0200 (chores) camel-core: run the SimpleLRUCacheTest isolated from others --- .../test/java/org/apache/camel/support/cache/SimpleLRUCacheTest.java | 2 ++ 1 file changed, 2 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 48a1a75175e..9261a96650c 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.parallel.Isolated; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; @@ -38,6 +39,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; /** * The test class for {@link SimpleLRUCache}. */ +@Isolated("Some of these tests creates a lot of threads") class SimpleLRUCacheTest { private final List<String> consumed = new ArrayList<>();