You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/01/05 17:23:27 UTC

[camel-spring-boot] 01/03: (chores) camel-infinispan-starter: disable flaky test on Github

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-spring-boot.git

commit 4acbfabe9d31e83a64cc8c1de980b50fd73f854d
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Jan 5 13:24:10 2023 +0100

    (chores) camel-infinispan-starter: disable flaky test on Github
---
 .../camel/component/infinispan/remote/InfinispanRemoteProducerIT.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components-starter/camel-infinispan-starter/src/test/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteProducerIT.java b/components-starter/camel-infinispan-starter/src/test/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteProducerIT.java
index 792e04c41e5..c9ce486bec6 100644
--- a/components-starter/camel-infinispan-starter/src/test/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteProducerIT.java
+++ b/components-starter/camel-infinispan-starter/src/test/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteProducerIT.java
@@ -31,6 +31,7 @@ import org.junit.jupiter.api.Test;
 
 import org.infinispan.client.hotrod.ServerStatistics;
 import org.infinispan.commons.api.BasicCache;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.context.annotation.Bean;
 import org.springframework.test.annotation.DirtiesContext;
@@ -45,6 +46,7 @@ import java.util.function.BiFunction;
 				InfinispanRemoteProducerIT.class
 		}
 )
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Github CI")
 public class InfinispanRemoteProducerIT extends InfinispanRemoteTestSupport implements InfinispanProducerTestSupport {
 
 	@Bean