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
commit b329df81c8e1086dcc3fc5733332f9bb96196035 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Thu Apr 18 09:24:05 2024 +0200 (chores) ci: isolate test that depends on precise time of events --- .../src/test/java/org/apache/camel/support/DefaultTimeoutMapTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/camel-core/src/test/java/org/apache/camel/support/DefaultTimeoutMapTest.java b/core/camel-core/src/test/java/org/apache/camel/support/DefaultTimeoutMapTest.java index ae27b0f0eb2..1f5d5817eb0 100644 --- a/core/camel-core/src/test/java/org/apache/camel/support/DefaultTimeoutMapTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/support/DefaultTimeoutMapTest.java @@ -27,12 +27,14 @@ import java.util.concurrent.TimeUnit; import org.apache.camel.TimeoutMap; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.DisabledIfSystemProperty; +import org.junit.jupiter.api.parallel.Isolated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.awaitility.Awaitility.await; import static org.junit.jupiter.api.Assertions.*; +@Isolated("Depends on precise timing that may be hard to achieve if the system is under pressure") @DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Github CI") public class DefaultTimeoutMapTest {
