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 422faed77c5 (chores) camel-core: disabled flaky test on Github
422faed77c5 is described below
commit 422faed77c55e323c595dcdff7379e920fbf80c7
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Jan 4 15:16:40 2023 +0100
(chores) camel-core: disabled flaky test on Github
---
.../java/org/apache/camel/management/ManagedPooledExchangeTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/core/camel-management/src/test/java/org/apache/camel/management/ManagedPooledExchangeTest.java
b/core/camel-management/src/test/java/org/apache/camel/management/ManagedPooledExchangeTest.java
index a3a711cf4c7..4d35cf54f09 100644
---
a/core/camel-management/src/test/java/org/apache/camel/management/ManagedPooledExchangeTest.java
+++
b/core/camel-management/src/test/java/org/apache/camel/management/ManagedPooledExchangeTest.java
@@ -31,6 +31,7 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.impl.engine.PooledExchangeFactory;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
@@ -39,6 +40,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertSame;
@DisabledOnOs(OS.AIX)
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com",
disabledReason = "Flaky on Github CI")
public class ManagedPooledExchangeTest extends ManagementTestSupport {
private final AtomicInteger counter = new AtomicInteger();