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 43680e6f044dfc81a6ecd96e8b22a7ffff2de269
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed May 29 10:45:14 2024 +0200

    (chores) camel-sjms: isolate a few flaky tests
---
 .../java/org/apache/camel/component/sjms/ReconnectConsumerTest.java     | 2 ++
 .../org/apache/camel/component/sjms/ReconnectInOutProducerTest.java     | 2 ++
 .../java/org/apache/camel/component/sjms/ReconnectProducerTest.java     | 2 ++
 3 files changed, 6 insertions(+)

diff --git 
a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectConsumerTest.java
 
b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectConsumerTest.java
index 7a876b5874e..39b64481ca6 100644
--- 
a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectConsumerTest.java
+++ 
b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectConsumerTest.java
@@ -24,9 +24,11 @@ import 
org.apache.camel.test.infra.artemis.services.ArtemisServiceFactory;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.extension.RegisterExtension;
+import org.junit.jupiter.api.parallel.Isolated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Isolated("Seems to have problem running along with other tests")
 @DisabledIfSystemProperty(named = "activemq.instance.type", matches = "remote",
                           disabledReason = "Requires control of ActiveMQ, so 
it can only run locally (embedded or container)")
 public class ReconnectConsumerTest extends JmsExclusiveTestSupport {
diff --git 
a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectInOutProducerTest.java
 
b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectInOutProducerTest.java
index 4d1c13ddbe4..7b443bae9f4 100644
--- 
a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectInOutProducerTest.java
+++ 
b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectInOutProducerTest.java
@@ -31,12 +31,14 @@ import 
org.apache.camel.test.infra.artemis.services.ArtemisServiceFactory;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.extension.RegisterExtension;
+import org.junit.jupiter.api.parallel.Isolated;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.junit.jupiter.api.Assertions.fail;
 
+@Isolated("Seems to have problem running along with other tests")
 @DisabledIfSystemProperty(named = "activemq.instance.type", matches = "remote",
                           disabledReason = "Requires control of ActiveMQ, so 
it can only run locally (embedded or container)")
 public class ReconnectInOutProducerTest extends JmsExclusiveTestSupport {
diff --git 
a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectProducerTest.java
 
b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectProducerTest.java
index e58fefbb208..4b12badaa88 100644
--- 
a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectProducerTest.java
+++ 
b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/ReconnectProducerTest.java
@@ -28,10 +28,12 @@ import 
org.apache.camel.test.infra.artemis.services.ArtemisServiceFactory;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.extension.RegisterExtension;
+import org.junit.jupiter.api.parallel.Isolated;
 
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@Isolated("Seems to have problem running along with other tests")
 @DisabledIfSystemProperty(named = "activemq.instance.type", matches = "remote",
                           disabledReason = "Requires control of ActiveMQ, so 
it can only run locally (embedded or container)")
 public class ReconnectProducerTest extends JmsExclusiveTestSupport {

Reply via email to