This is an automated email from the ASF dual-hosted git repository.
Croway 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 6d23d207d287 CAMEL-24588: camel-jms - disable IBM MQ tests on GitHub
Actions
6d23d207d287 is described below
commit 6d23d207d2874cf9aec757754b92b9dd6431f519
Author: croway <[email protected]>
AuthorDate: Wed Sep 2 14:22:04 2026 +0200
CAMEL-24588: camel-jms - disable IBM MQ tests on GitHub Actions
The IBM MQ image is hosted on icr.io, which is not reliably reachable
from GitHub Actions runners. When the pull hits the Testcontainers
2-minute limit the class errors with ContainerFetchException and is
retried twice by surefire, costing ~18 minutes and failing the PR build
for a reason unrelated to the code under test.
Disable the two IBM MQ tests on GitHub Actions only. Jenkins sets
ci.env.name to apache.org and keeps running them.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PFCSjT8h1vC5F3a4pgR5F7
---
.../java/org/apache/camel/component/jms/JmsComponentIbmMQTest.java | 3 +++
.../org/apache/camel/component/jms/issues/JmsReplyToIbmMQTest.java | 3 +++
2 files changed, 6 insertions(+)
diff --git
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentIbmMQTest.java
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentIbmMQTest.java
index aeb604c0605c..9aadd27d0697 100644
---
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentIbmMQTest.java
+++
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentIbmMQTest.java
@@ -28,11 +28,14 @@ import
org.apache.camel.test.infra.ibmmq.services.IbmMQService;
import org.apache.camel.test.infra.ibmmq.services.IbmMQServiceFactory;
import org.apache.camel.test.junit6.CamelTestSupport;
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.extension.RegisterExtension;
import static
org.apache.camel.component.jms.JmsComponent.jmsComponentAutoAcknowledge;
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com",
+ disabledReason = "The IBM MQ image on icr.io is not
reliably pullable from GitHub Actions")
@DisabledOnOs(architectures = { "aarch64", "aarch_64" }, disabledReason = "IBM
MQ has no Linux ARM64 native image")
public class JmsComponentIbmMQTest extends CamelTestSupport {
diff --git
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsReplyToIbmMQTest.java
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsReplyToIbmMQTest.java
index 1ea7d389ce0f..6a2e3e98df31 100644
---
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsReplyToIbmMQTest.java
+++
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsReplyToIbmMQTest.java
@@ -26,12 +26,15 @@ import
org.apache.camel.test.infra.ibmmq.services.IbmMQService;
import org.apache.camel.test.infra.ibmmq.services.IbmMQServiceFactory;
import org.apache.camel.test.junit6.CamelTestSupport;
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.extension.RegisterExtension;
import static
org.apache.camel.component.jms.JmsComponent.jmsComponentAutoAcknowledge;
import static org.assertj.core.api.Assertions.assertThat;
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com",
+ disabledReason = "The IBM MQ image on icr.io is not
reliably pullable from GitHub Actions")
@DisabledOnOs(architectures = { "aarch64", "aarch_64" }, disabledReason = "IBM
MQ has no Linux ARM64 native image")
class JmsReplyToIbmMQTest extends CamelTestSupport {