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 bafe341d3b6 CAMEL-19832: disable camel-rocketmq tests because they are 
unreliable (#11301)
bafe341d3b6 is described below

commit bafe341d3b65f0a542a75b7548ba93d84bf04888
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Sep 5 14:10:22 2023 +0200

    CAMEL-19832: disable camel-rocketmq tests because they are unreliable 
(#11301)
---
 .../apache/camel/component/rocketmq/RocketMQRequestReplyRouteTest.java | 3 +++
 .../java/org/apache/camel/component/rocketmq/RocketMQRouteTest.java    | 3 +++
 2 files changed, 6 insertions(+)

diff --git 
a/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRequestReplyRouteTest.java
 
b/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRequestReplyRouteTest.java
index 0f9aee5602d..625b546e20e 100644
--- 
a/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRequestReplyRouteTest.java
+++ 
b/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRequestReplyRouteTest.java
@@ -35,7 +35,10 @@ import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+        disabledReason = "These tests are flaky on Apache CI - see 
CAMEL-19832")
 public class RocketMQRequestReplyRouteTest extends RocketMQTestSupport {
 
     private static final String START_ENDPOINT_URI = 
"rocketmq:START_TOPIC_RRT?producerGroup=p1&consumerGroup=c1";
diff --git 
a/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRouteTest.java
 
b/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRouteTest.java
index 78d090b336a..4ddaaf23d90 100644
--- 
a/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRouteTest.java
+++ 
b/components/camel-rocketmq/src/test/java/org/apache/camel/component/rocketmq/RocketMQRouteTest.java
@@ -28,7 +28,10 @@ import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+        disabledReason = "These tests are flaky on Apache CI - see 
CAMEL-19832")
 public class RocketMQRouteTest extends RocketMQTestSupport {
 
     public static final String EXPECTED_MESSAGE = "hello, RocketMQ.";

Reply via email to