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 2025/01/08 06:58:02 UTC

(camel) branch camel-4.8.x updated (b2e1317a29a -> d289bd41486)

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a change to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git


    from b2e1317a29a CAMEL-21278 : Camel Jbang Kubernetes plugin -  add builders to model (#16731)
     new d2d479daf02 (chores) camel-smb: disable tests on s390x
     new 7098f530d77 (chores) camel-core: disable broken tests on s390x
     new cfb4de7eb98 (chores) camel-minio: disable tests on s390x
     new e20bd188251 (chores) camel-djl: prevent resource-intensive test from running on CI environments
     new df7076d8f51 CAMEL-21438: disable unreliable tests on s390x
     new 31832ca8db8 CAMEL-21272: disabled resource intensive tests from deprecated components
     new 9bb578e2444 CAMEL-21438: disable unreliable test on s390x
     new a7b99ec5706 CAMEL-21585: resolve platform containers automatically
     new 031071e3206 CAMEL-21585: stop overriding platform containers on the pom files
     new 4e43a1c529c CAMEL-21585: do not override containers in tests
     new d289bd41486 CAMEL-21576: container pulling adjustments

The 11 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../component/djl/CvImageEnhancementLocalTest.java |  3 +++
 components/camel-consul/pom.xml                    | 27 ----------------------
 .../InfinispanEmbeddedClusteredConsumerTest.java   |  5 ++++
 .../lumberjack/LumberjackComponentTest.java        |  5 ++++
 .../lumberjack/LumberjackMultiThreadIT.java        |  5 ++++
 components/camel-minio/pom.xml                     |  5 ++++
 .../integration/MongoDbFindOperationIT.java        | 10 +-------
 .../slot/integration/PgReplicationITSupport.java   |  5 +++-
 components/camel-pulsar/pom.xml                    | 23 ------------------
 .../apache/camel/component/smb/SmbComponentIT.java |  3 +++
 components/camel-zookeeper-master/pom.xml          | 23 ------------------
 components/camel-zookeeper/pom.xml                 | 24 -------------------
 .../controlbus/ControlBusFailRouteTest.java        |  3 +++
 .../file/FileSortByIgnoreCaseExpressionTest.java   |  5 ++++
 .../MulticastParallelTimeoutStreamCachingTest.java |  3 +++
 ...sequenceBatchNotIgnoreInvalidExchangesTest.java |  8 ++++---
 .../ResequenceStreamRejectOldExchangesTest.java    |  8 ++++---
 .../camel/processor/StreamResequencerTest.java     |  5 ++++
 .../processor/ThreadsRejectedExecutionTest.java    |  5 ++++
 .../camel/dsl/jbang/core/commands/k/AgentTest.java |  1 +
 .../camel/dsl/jbang/core/commands/k/BindTest.java  |  2 ++
 .../dsl/jbang/core/commands/k/CamelKBaseTest.java  |  6 ++---
 .../jbang/core/commands/k/CamelKCommandTest.java   |  2 ++
 .../core/commands/k/IntegrationDeleteTest.java     |  2 ++
 .../core/commands/k/IntegrationExportTest.java     |  1 +
 .../jbang/core/commands/k/IntegrationGetTest.java  |  2 ++
 .../jbang/core/commands/k/IntegrationLogsTest.java |  2 ++
 .../jbang/core/commands/k/IntegrationRunTest.java  |  2 ++
 .../infra/arangodb/services/container.properties   |  2 +-
 .../test/infra/aws2/services/container.properties  |  2 +-
 .../services/CassandraLocalContainerService.java   |  3 ++-
 .../infra/cassandra/services/container.properties  |  2 +-
 .../infra/chatscript/services/container.properties |  2 +-
 .../test/infra/cli/services/CliBuiltContainer.java |  2 +-
 .../test/infra/common/LocalPropertyResolver.java   | 19 +++++++++++++++
 .../infra/consul/services/container.properties     |  3 ++-
 .../services/CouchbaseLocalContainerService.java   |  5 ++--
 .../infra/couchbase/services/container.properties  |  2 +-
 .../infra/couchdb/services/container.properties    |  2 +-
 .../test/infra/fhir/services/container.properties  |  2 +-
 .../hashicorp/vault/services/container.properties  |  3 ++-
 .../services/LocalHiveMQSparkplugTCKService.java   |  5 +---
 .../camel/test/infra/hivemq/services/Dockerfile    |  2 +-
 .../infra/hivemq/services/container.properties     |  2 +-
 .../services/ContainerLocalAuthKafkaService.java   |  2 +-
 .../kafka/services/ContainerLocalKafkaService.java |  8 ++++---
 .../test/infra/kafka/services/container.properties |  2 +-
 .../test/infra/milvus/common/MilvusProperties.java |  2 --
 .../services/MilvusLocalContainerService.java      |  2 +-
 .../infra/milvus/services/container.properties     |  3 ++-
 .../test/infra/minio/services/container.properties |  2 +-
 .../infra/mongodb/services/container.properties    |  3 ++-
 .../infra/mosquitto/services/container.properties  |  2 +-
 .../test/infra/nats/services/container.properties  |  2 +-
 .../infra/ollama/services/container.properties     |  2 +-
 .../infra/openldap/services/container.properties   |  2 +-
 .../services/OpenSearchLocalContainerService.java  |  4 +++-
 .../infra/opensearch/services/container.properties |  3 ++-
 .../infra/postgres/services/container.properties   |  2 +-
 .../services/PulsarLocalContainerService.java      |  2 +-
 .../infra/pulsar/services/container.properties     |  2 +-
 .../services/QdrantLocalContainerService.java      |  2 +-
 .../infra/qdrant/services/container.properties     |  2 +-
 .../services/RabbitMQLocalContainerService.java    |  3 ++-
 .../infra/rabbitmq/services/container.properties   |  2 +-
 .../test/infra/redis/services/container.properties |  2 +-
 .../infra/rocketmq/services/container.properties   |  2 +-
 .../camel/test/infra/smb/services/Dockerfile       |  2 +-
 .../test/infra/solr/services/container.properties  |  2 +-
 .../test/infra/xmpp/services/container.properties  |  2 +-
 .../infra/zookeeper/services/container.properties  |  3 ++-
 71 files changed, 154 insertions(+), 166 deletions(-)


(camel) 10/11: CAMEL-21585: do not override containers in tests

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4e43a1c529c95ad7d0422210554472966def82da
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Sat Jan 4 09:13:24 2025 +0100

    CAMEL-21585: do not override containers in tests
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 .../component/mongodb/integration/MongoDbFindOperationIT.java  | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/integration/MongoDbFindOperationIT.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/integration/MongoDbFindOperationIT.java
index df6071f3809..7d4f26e964b 100644
--- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/integration/MongoDbFindOperationIT.java
+++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/integration/MongoDbFindOperationIT.java
@@ -32,7 +32,6 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mongodb.MongoDbComponent;
 import org.apache.camel.component.mongodb.MongoDbConstants;
 import org.apache.camel.impl.DefaultCamelContext;
-import org.apache.camel.test.infra.mongodb.common.MongoDBProperties;
 import org.apache.camel.test.infra.mongodb.services.MongoDBLocalContainerService;
 import org.apache.camel.test.junit5.CamelTestSupport;
 import org.apache.camel.util.IOHelper;
@@ -63,19 +62,12 @@ public class MongoDbFindOperationIT extends CamelTestSupport {
     protected static String dbName = "test";
     protected static String testCollectionName;
 
-    private static String mongoDbContainer;
-
     private static MongoClient mongo;
     private static MongoDatabase db;
     private static MongoCollection<Document> testCollection;
 
     static {
-
-        // This one requires Mongo 4.4. This is related to
-        // "CAMEL-15604 support allowDiskUse for MongoDB find operations"
-        mongoDbContainer = System.getProperty(MongoDBProperties.MONGODB_CONTAINER, "mongo:4.4");
-
-        service = new MongoDBLocalContainerService(mongoDbContainer);
+        service = new MongoDBLocalContainerService();
 
         service.getContainer()
                 .waitingFor(Wait.forListeningPort())


(camel) 09/11: CAMEL-21585: stop overriding platform containers on the pom files

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 031071e3206bd86ade07542309fe9f499309f911
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 3 11:11:47 2025 +0100

    CAMEL-21585: stop overriding platform containers on the pom files
---
 components/camel-consul/pom.xml                    | 27 ----------------------
 components/camel-zookeeper-master/pom.xml          | 23 ------------------
 components/camel-zookeeper/pom.xml                 | 24 -------------------
 .../infra/consul/services/container.properties     |  3 ++-
 .../infra/zookeeper/services/container.properties  |  3 ++-
 5 files changed, 4 insertions(+), 76 deletions(-)

diff --git a/components/camel-consul/pom.xml b/components/camel-consul/pom.xml
index 485d5b67ce5..6443e18c4e3 100644
--- a/components/camel-consul/pom.xml
+++ b/components/camel-consul/pom.xml
@@ -157,31 +157,4 @@
         </dependency>
 
     </dependencies>
-
-    <profiles>
-        <profile>
-            <id>ppc64le</id>
-            <activation>
-                <os>
-                    <arch>ppc64le</arch>
-                </os>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-failsafe-plugin</artifactId>
-                        <configuration>
-                            <skipITs>${skipTests}</skipITs>
-                            <reuseForks>true</reuseForks>
-                            <systemPropertyVariables>
-                                 <consul.container>icr.io/ppc64le-oss/consul-ppc64le:1.9.4</consul.container>
-                           </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
 </project>
diff --git a/components/camel-zookeeper-master/pom.xml b/components/camel-zookeeper-master/pom.xml
index f1a67c816b7..0d51f582e8b 100644
--- a/components/camel-zookeeper-master/pom.xml
+++ b/components/camel-zookeeper-master/pom.xml
@@ -147,28 +147,5 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>ppc64le</id>
-            <activation>
-                <os>
-                    <arch>ppc64le</arch>
-                </os>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-failsafe-plugin</artifactId>
-                        <configuration>
-                            <skipITs>${skipTests}</skipITs>
-                            <reuseForks>true</reuseForks>
-                            <systemPropertyVariables>
-                                 <zookeeper.container>icr.io/ppc64le-oss/zookeeper-ppc64le:3.5.10</zookeeper.container>
-                           </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
     </profiles>
 </project>
diff --git a/components/camel-zookeeper/pom.xml b/components/camel-zookeeper/pom.xml
index a5d69722e63..05dc475fb02 100644
--- a/components/camel-zookeeper/pom.xml
+++ b/components/camel-zookeeper/pom.xml
@@ -198,29 +198,5 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>ppc64le</id>
-            <activation>
-                <os>
-                    <arch>ppc64le</arch>
-                </os>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-failsafe-plugin</artifactId>
-                        <configuration>
-                            <skipITs>${skipTests}</skipITs>
-                            <reuseForks>true</reuseForks>
-                            <systemPropertyVariables>
-                                 <zookeeper.container>icr.io/ppc64le-oss/zookeeper-ppc64le:3.5.10</zookeeper.container>
-                           </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-
     </profiles>
 </project>
diff --git a/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties b/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties
index 5c1b4bf5343..a729c3bd58b 100644
--- a/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties
+++ b/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties
@@ -15,4 +15,5 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 ## tested against 2.1.2, 2.2.0 & 2.3.1
-consul.container=hashicorp/consul:1.19
\ No newline at end of file
+consul.container=hashicorp/consul:1.19
+consul.container.ppc64le=icr.io/ppc64le-oss/consul-ppc64le:1.9.4
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties b/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties
index c7c01c1727a..b8026d1eb0e 100644
--- a/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties
+++ b/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties
@@ -14,4 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-zookeeper.container=zookeeper:3.9
\ No newline at end of file
+zookeeper.container=zookeeper:3.9
+zookeeper.container.ppc64le=icr.io/ppc64le-oss/zookeeper-ppc64le:3.5.10
\ No newline at end of file


(camel) 06/11: CAMEL-21272: disabled resource intensive tests from deprecated components

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 31832ca8db81b49ced15632b151ba3f4c7919f77
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Jan 7 15:01:07 2025 +0100

    CAMEL-21272: disabled resource intensive tests from deprecated components
---
 .../java/org/apache/camel/dsl/jbang/core/commands/k/AgentTest.java  | 1 +
 .../java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java   | 2 ++
 .../org/apache/camel/dsl/jbang/core/commands/k/CamelKBaseTest.java  | 6 ++----
 .../apache/camel/dsl/jbang/core/commands/k/CamelKCommandTest.java   | 2 ++
 .../camel/dsl/jbang/core/commands/k/IntegrationDeleteTest.java      | 2 ++
 .../camel/dsl/jbang/core/commands/k/IntegrationExportTest.java      | 1 +
 .../apache/camel/dsl/jbang/core/commands/k/IntegrationGetTest.java  | 2 ++
 .../apache/camel/dsl/jbang/core/commands/k/IntegrationLogsTest.java | 2 ++
 .../apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java  | 2 ++
 9 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/AgentTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/AgentTest.java
index 56612497224..0d9c8f22982 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/AgentTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/AgentTest.java
@@ -34,6 +34,7 @@ import org.junit.jupiter.params.provider.CsvSource;
 
 import static org.hamcrest.Matchers.hasItems;
 
+@Disabled("Deprecated and resource intensive")
 @TestInstance(TestInstance.Lifecycle.PER_CLASS)
 class AgentTest {
 
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java
index 1a9405cd574..3fbdffd81b1 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/BindTest.java
@@ -21,8 +21,10 @@ import org.apache.camel.dsl.jbang.core.commands.CamelJBangMain;
 import org.apache.camel.util.StringHelper;
 import org.apache.camel.v1.Pipe;
 import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
+@Disabled("Deprecated and resource intensive")
 class BindTest extends CamelKBaseTest {
 
     @Test
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKBaseTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKBaseTest.java
index b0cf56a53eb..42625750d6b 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKBaseTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKBaseTest.java
@@ -35,11 +35,9 @@ import org.apache.camel.v1.Integration;
 import org.apache.camel.v1.IntegrationSpec;
 import org.apache.camel.v1.Pipe;
 import org.apache.camel.v1.PipeSpec;
-import org.junit.jupiter.api.AfterAll;
-import org.junit.jupiter.api.BeforeAll;
-import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.TestInstance;
+import org.junit.jupiter.api.*;
 
+@Disabled("Deprecated and resource intensive")
 @TestInstance(TestInstance.Lifecycle.PER_CLASS)
 public class CamelKBaseTest {
 
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKCommandTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKCommandTest.java
index 7ae64310a25..519361f8a0a 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKCommandTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/CamelKCommandTest.java
@@ -31,8 +31,10 @@ import org.apache.camel.impl.engine.DefaultFactoryFinder;
 import org.apache.camel.spi.FactoryFinder;
 import org.apache.camel.v1.Integration;
 import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
+@Disabled("Deprecated and resource intensive")
 class CamelKCommandTest extends CamelKBaseTest {
 
     @Test
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationDeleteTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationDeleteTest.java
index 4b0e38dfb54..ab731610f9a 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationDeleteTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationDeleteTest.java
@@ -21,8 +21,10 @@ import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.dsl.jbang.core.commands.CamelJBangMain;
 import org.apache.camel.v1.Integration;
 import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
+@Disabled("Deprecated and resource intensive")
 class IntegrationDeleteTest extends CamelKBaseTest {
 
     @Test
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationExportTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationExportTest.java
index d9f3b4a6e34..846c073d5f4 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationExportTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationExportTest.java
@@ -37,6 +37,7 @@ import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
+@Disabled("Deprecated and resource intensive")
 class IntegrationExportTest extends CamelKBaseTest {
 
     private File workingDir;
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationGetTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationGetTest.java
index 6e0e6519aed..d040189135c 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationGetTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationGetTest.java
@@ -26,8 +26,10 @@ import org.apache.camel.v1.IntegrationStatus;
 import org.apache.camel.v1.integrationstatus.Conditions;
 import org.apache.camel.v1.integrationstatus.IntegrationKit;
 import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
+@Disabled("Deprecated and resource intensive")
 class IntegrationGetTest extends CamelKBaseTest {
 
     @Test
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationLogsTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationLogsTest.java
index 1a7ad4ae04c..a5730f5e187 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationLogsTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationLogsTest.java
@@ -24,8 +24,10 @@ import io.fabric8.kubernetes.api.model.PodBuilder;
 import org.apache.camel.dsl.jbang.core.commands.CamelJBangMain;
 import org.apache.camel.v1.Integration;
 import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
+@Disabled("Deprecated and resource intensive")
 class IntegrationLogsTest extends CamelKBaseTest {
 
     @Test
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
index 1354ef8e03d..323e4d7ed30 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
@@ -23,8 +23,10 @@ import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.dsl.jbang.core.commands.CamelJBangMain;
 import org.apache.camel.v1.Integration;
 import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
+@Disabled("Deprecated and resource intensive")
 class IntegrationRunTest extends CamelKBaseTest {
 
     @Test


(camel) 11/11: CAMEL-21576: container pulling adjustments

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit d289bd41486bf2b452beeb8e29e06b2fb3ab9cba
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Jan 2 09:59:45 2025 +0100

    CAMEL-21576: container pulling adjustments
---
 .../slot/integration/PgReplicationITSupport.java   |  5 ++++-
 components/camel-pulsar/pom.xml                    | 23 ----------------------
 .../infra/arangodb/services/container.properties   |  2 +-
 .../test/infra/aws2/services/container.properties  |  2 +-
 .../services/CassandraLocalContainerService.java   |  3 ++-
 .../infra/cassandra/services/container.properties  |  2 +-
 .../infra/chatscript/services/container.properties |  2 +-
 .../test/infra/cli/services/CliBuiltContainer.java |  2 +-
 .../infra/consul/services/container.properties     |  2 +-
 .../services/CouchbaseLocalContainerService.java   |  5 +++--
 .../infra/couchbase/services/container.properties  |  2 +-
 .../infra/couchdb/services/container.properties    |  2 +-
 .../test/infra/fhir/services/container.properties  |  2 +-
 .../hashicorp/vault/services/container.properties  |  3 ++-
 .../services/LocalHiveMQSparkplugTCKService.java   |  5 +----
 .../camel/test/infra/hivemq/services/Dockerfile    |  2 +-
 .../infra/hivemq/services/container.properties     |  2 +-
 .../services/ContainerLocalAuthKafkaService.java   |  2 +-
 .../kafka/services/ContainerLocalKafkaService.java |  8 +++++---
 .../test/infra/kafka/services/container.properties |  2 +-
 .../services/MilvusLocalContainerService.java      |  2 +-
 .../infra/milvus/services/container.properties     |  3 ++-
 .../test/infra/minio/services/container.properties |  2 +-
 .../infra/mongodb/services/container.properties    |  3 ++-
 .../infra/mosquitto/services/container.properties  |  2 +-
 .../test/infra/nats/services/container.properties  |  2 +-
 .../infra/ollama/services/container.properties     |  2 +-
 .../infra/openldap/services/container.properties   |  2 +-
 .../services/OpenSearchLocalContainerService.java  |  3 ++-
 .../infra/opensearch/services/container.properties |  3 ++-
 .../infra/postgres/services/container.properties   |  2 +-
 .../services/PulsarLocalContainerService.java      |  2 +-
 .../infra/pulsar/services/container.properties     |  2 +-
 .../services/QdrantLocalContainerService.java      |  2 +-
 .../infra/qdrant/services/container.properties     |  2 +-
 .../services/RabbitMQLocalContainerService.java    |  3 ++-
 .../infra/rabbitmq/services/container.properties   |  2 +-
 .../test/infra/redis/services/container.properties |  2 +-
 .../infra/rocketmq/services/container.properties   |  2 +-
 .../camel/test/infra/smb/services/Dockerfile       |  2 +-
 .../test/infra/solr/services/container.properties  |  2 +-
 .../test/infra/xmpp/services/container.properties  |  2 +-
 .../infra/zookeeper/services/container.properties  |  2 +-
 43 files changed, 58 insertions(+), 71 deletions(-)

diff --git a/components/camel-pg-replication-slot/src/test/java/org/apache/camel/component/pg/replication/slot/integration/PgReplicationITSupport.java b/components/camel-pg-replication-slot/src/test/java/org/apache/camel/component/pg/replication/slot/integration/PgReplicationITSupport.java
index a8b1e47b787..54f81c03815 100644
--- a/components/camel-pg-replication-slot/src/test/java/org/apache/camel/component/pg/replication/slot/integration/PgReplicationITSupport.java
+++ b/components/camel-pg-replication-slot/src/test/java/org/apache/camel/component/pg/replication/slot/integration/PgReplicationITSupport.java
@@ -21,6 +21,7 @@ import org.apache.camel.test.infra.postgres.services.PostgresLocalContainerServi
 import org.apache.camel.test.junit5.CamelTestSupport;
 import org.junit.jupiter.api.extension.RegisterExtension;
 import org.testcontainers.containers.PostgreSQLContainer;
+import org.testcontainers.utility.DockerImageName;
 
 public class PgReplicationITSupport extends CamelTestSupport {
 
@@ -28,7 +29,9 @@ public class PgReplicationITSupport extends CamelTestSupport {
     static PostgresLocalContainerService service;
 
     static {
-        PostgreSQLContainer container = new PostgreSQLContainer<>(PostgresLocalContainerService.DEFAULT_POSTGRES_CONTAINER)
+        PostgreSQLContainer container = new PostgreSQLContainer<>(
+                DockerImageName.parse(PostgresLocalContainerService.DEFAULT_POSTGRES_CONTAINER)
+                        .asCompatibleSubstituteFor("postgres"))
                 .withDatabaseName("camel")
                 .withCommand("postgres -c wal_level=logical");
 
diff --git a/components/camel-pulsar/pom.xml b/components/camel-pulsar/pom.xml
index 3498de56141..d70398b9585 100644
--- a/components/camel-pulsar/pom.xml
+++ b/components/camel-pulsar/pom.xml
@@ -91,27 +91,4 @@
             <scope>test</scope>
     	</dependency>
     </dependencies>
-
-    <profiles>
-        <profile>
-            <id>full</id>
-            <activation>
-                <property>
-                    <name>!quickly</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <systemPropertyVariables>
-                                <pulsar.container>apachepulsar/pulsar:${pulsar-version}</pulsar.container>
-                            </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/test-infra/camel-test-infra-arangodb/src/test/resources/org/apache/camel/test/infra/arangodb/services/container.properties b/test-infra/camel-test-infra-arangodb/src/test/resources/org/apache/camel/test/infra/arangodb/services/container.properties
index baff7a3baa5..9f4ac8d82f9 100644
--- a/test-infra/camel-test-infra-arangodb/src/test/resources/org/apache/camel/test/infra/arangodb/services/container.properties
+++ b/test-infra/camel-test-infra-arangodb/src/test/resources/org/apache/camel/test/infra/arangodb/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 ## tested against 2.1.2, 2.2.0 & 2.3.1
-arangodb.container=arangodb:3.12
\ No newline at end of file
+arangodb.container=mirror.gcr.io/arangodb:3.12
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties b/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
index cfde30a5547..25a0e223f80 100644
--- a/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
+++ b/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 
-aws.container=localstack/localstack:3.6.0
+aws.container=mirror.gcr.io/localstack/localstack:3.6.0
diff --git a/test-infra/camel-test-infra-cassandra/src/test/java/org/apache/camel/test/infra/cassandra/services/CassandraLocalContainerService.java b/test-infra/camel-test-infra-cassandra/src/test/java/org/apache/camel/test/infra/cassandra/services/CassandraLocalContainerService.java
index dfdcf04f65e..797e5ea57a4 100644
--- a/test-infra/camel-test-infra-cassandra/src/test/java/org/apache/camel/test/infra/cassandra/services/CassandraLocalContainerService.java
+++ b/test-infra/camel-test-infra-cassandra/src/test/java/org/apache/camel/test/infra/cassandra/services/CassandraLocalContainerService.java
@@ -22,6 +22,7 @@ import org.apache.camel.test.infra.common.services.ContainerService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.testcontainers.containers.CassandraContainer;
+import org.testcontainers.utility.DockerImageName;
 
 /**
  * A service for a local instance of Apache Cassandra running with TestContainers
@@ -46,7 +47,7 @@ public class CassandraLocalContainerService implements CassandraService, Contain
     }
 
     protected CassandraContainer initContainer(String imageName) {
-        return new CassandraContainer(imageName);
+        return new CassandraContainer(DockerImageName.parse(imageName).asCompatibleSubstituteFor("cassandra"));
     }
 
     @Override
diff --git a/test-infra/camel-test-infra-cassandra/src/test/resources/org/apache/camel/test/infra/cassandra/services/container.properties b/test-infra/camel-test-infra-cassandra/src/test/resources/org/apache/camel/test/infra/cassandra/services/container.properties
index 19778acff6d..eb5464db627 100644
--- a/test-infra/camel-test-infra-cassandra/src/test/resources/org/apache/camel/test/infra/cassandra/services/container.properties
+++ b/test-infra/camel-test-infra-cassandra/src/test/resources/org/apache/camel/test/infra/cassandra/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 ## tested against 2.1.2, 2.2.0 & 2.3.1
-cassandra.container=cassandra:4.1.5
\ No newline at end of file
+cassandra.container=mirror.gcr.io/cassandra:4.1.5
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-chatscript/src/test/resources/org/apache/camel/test/infra/chatscript/services/container.properties b/test-infra/camel-test-infra-chatscript/src/test/resources/org/apache/camel/test/infra/chatscript/services/container.properties
index 9439ffc32cb..2fb9d50301e 100644
--- a/test-infra/camel-test-infra-chatscript/src/test/resources/org/apache/camel/test/infra/chatscript/services/container.properties
+++ b/test-infra/camel-test-infra-chatscript/src/test/resources/org/apache/camel/test/infra/chatscript/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 ## tested against 2.1.2, 2.2.0 & 2.3.1
-chatscript.container=claytantor/chatscript-docker:latest
\ No newline at end of file
+chatscript.container=mirror.gcr.io/claytantor/chatscript-docker:latest
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-cli/src/test/java/org/apache/camel/test/infra/cli/services/CliBuiltContainer.java b/test-infra/camel-test-infra-cli/src/test/java/org/apache/camel/test/infra/cli/services/CliBuiltContainer.java
index 09f937a0e38..afa2f2c1b54 100644
--- a/test-infra/camel-test-infra-cli/src/test/java/org/apache/camel/test/infra/cli/services/CliBuiltContainer.java
+++ b/test-infra/camel-test-infra-cli/src/test/java/org/apache/camel/test/infra/cli/services/CliBuiltContainer.java
@@ -36,7 +36,7 @@ public class CliBuiltContainer extends GenericContainer<CliBuiltContainer> {
     private static final String KEEP_RUNNING_ARG = "KEEP_RUNNING";
     private static final String MOUNT_POINT = "/deployments/data";
     private static final String SSH_PASSWORD_ARG = "SSH_PASSWORD_ARG";
-    private static final String FROM_IMAGE_NAME = "fedora:39";
+    private static final String FROM_IMAGE_NAME = "mirror.gcr.io/fedora:39";
     private static final String FROM_IMAGE_ARG = "FROMIMAGE";
     protected static final int DEV_CONSOLE_PORT = 8080;
     protected static final int SSH_PORT = 22;
diff --git a/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties b/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties
index a729c3bd58b..700a36c52d5 100644
--- a/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties
+++ b/test-infra/camel-test-infra-consul/src/test/resources/org/apache/camel/test/infra/consul/services/container.properties
@@ -15,5 +15,5 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 ## tested against 2.1.2, 2.2.0 & 2.3.1
-consul.container=hashicorp/consul:1.19
+consul.container=mirror.gcr.io/hashicorp/consul:1.19
 consul.container.ppc64le=icr.io/ppc64le-oss/consul-ppc64le:1.9.4
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-couchbase/src/test/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerService.java b/test-infra/camel-test-infra-couchbase/src/test/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerService.java
index 1e09073c514..89093f7e127 100644
--- a/test-infra/camel-test-infra-couchbase/src/test/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerService.java
+++ b/test-infra/camel-test-infra-couchbase/src/test/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerService.java
@@ -23,18 +23,19 @@ import org.apache.camel.test.infra.couchbase.common.CouchbaseProperties;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.testcontainers.couchbase.CouchbaseContainer;
+import org.testcontainers.utility.DockerImageName;
 
 public class CouchbaseLocalContainerService implements CouchbaseService, ContainerService<CouchbaseContainer> {
 
     /*
      * Couchbase container uses a dynamic port for the KV service. The configuration
-     * used in the Camel component tries to use that port by default and it seems
+     * used in the Camel component tries to use that port by default, and it seems
      * we cannot configure it. Therefore, we override the default container and
      * force the default KV port to be used.
      */
     private class CustomCouchbaseContainer extends CouchbaseContainer {
         public CustomCouchbaseContainer(String imageName) {
-            super(imageName);
+            super(DockerImageName.parse(imageName).asCompatibleSubstituteFor("couchbase/server"));
 
             final int kvPort = 11210;
             addFixedExposedPort(kvPort, kvPort);
diff --git a/test-infra/camel-test-infra-couchbase/src/test/resources/org/apache/camel/test/infra/couchbase/services/container.properties b/test-infra/camel-test-infra-couchbase/src/test/resources/org/apache/camel/test/infra/couchbase/services/container.properties
index 26d9cb91af2..eeff07a2ca4 100644
--- a/test-infra/camel-test-infra-couchbase/src/test/resources/org/apache/camel/test/infra/couchbase/services/container.properties
+++ b/test-infra/camel-test-infra-couchbase/src/test/resources/org/apache/camel/test/infra/couchbase/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 ## tested against 2.1.2, 2.2.0 & 2.3.1
-couchbase.container=couchbase/server:7.2.5
\ No newline at end of file
+couchbase.container=mirror.gcr.io/couchbase/server:7.2.5
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-couchdb/src/test/resources/org/apache/camel/test/infra/couchdb/services/container.properties b/test-infra/camel-test-infra-couchdb/src/test/resources/org/apache/camel/test/infra/couchdb/services/container.properties
index ae434c55762..52908ff2562 100644
--- a/test-infra/camel-test-infra-couchdb/src/test/resources/org/apache/camel/test/infra/couchdb/services/container.properties
+++ b/test-infra/camel-test-infra-couchdb/src/test/resources/org/apache/camel/test/infra/couchdb/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 ## tested against 2.1.2, 2.2.0 & 2.3.1
-couchdb.container=couchdb:2.3.1
\ No newline at end of file
+couchdb.container=mirror.gcr.io/couchdb:2.3.1
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-fhir/src/test/resources/org/apache/camel/test/infra/fhir/services/container.properties b/test-infra/camel-test-infra-fhir/src/test/resources/org/apache/camel/test/infra/fhir/services/container.properties
index 9f27e267fa2..21887798cb6 100644
--- a/test-infra/camel-test-infra-fhir/src/test/resources/org/apache/camel/test/infra/fhir/services/container.properties
+++ b/test-infra/camel-test-infra-fhir/src/test/resources/org/apache/camel/test/infra/fhir/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-fhir.container=hapiproject/hapi:v7.2.0
\ No newline at end of file
+fhir.container=mirror.gcr.io/hapiproject/hapi:v7.2.0
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-hashicorp-vault/src/test/resources/org/apache/camel/test/infra/hashicorp/vault/services/container.properties b/test-infra/camel-test-infra-hashicorp-vault/src/test/resources/org/apache/camel/test/infra/hashicorp/vault/services/container.properties
index e11dce14e5d..64e3df70f86 100644
--- a/test-infra/camel-test-infra-hashicorp-vault/src/test/resources/org/apache/camel/test/infra/hashicorp/vault/services/container.properties
+++ b/test-infra/camel-test-infra-hashicorp-vault/src/test/resources/org/apache/camel/test/infra/hashicorp/vault/services/container.properties
@@ -14,4 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-hashicorp.vault.container=hashicorp/vault:1.17.1
+hashicorp.vault.container=mirror.gcr.io/hashicorp/vault:1.17.1
+hashicorp.vault.container.ppc64le=icr.io/ppc64le-oss/vault-ppc64le:v1.13.1
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-hivemq/src/test/java/org/apache/camel/test/infra/hivemq/services/LocalHiveMQSparkplugTCKService.java b/test-infra/camel-test-infra-hivemq/src/test/java/org/apache/camel/test/infra/hivemq/services/LocalHiveMQSparkplugTCKService.java
index 9575e25eb56..a5f2c83667a 100644
--- a/test-infra/camel-test-infra-hivemq/src/test/java/org/apache/camel/test/infra/hivemq/services/LocalHiveMQSparkplugTCKService.java
+++ b/test-infra/camel-test-infra-hivemq/src/test/java/org/apache/camel/test/infra/hivemq/services/LocalHiveMQSparkplugTCKService.java
@@ -31,9 +31,6 @@ public final class LocalHiveMQSparkplugTCKService extends AbstractLocalHiveMQSer
 
     @Override
     protected HiveMQContainer initContainer(String imageName) {
-        String hivemqContainerName
-                = LocalPropertyResolver.getProperty(LocalHiveMQSparkplugTCKService.class, HiveMQProperties.HIVEMQ_CONTAINER);
-
         String dockerfileResourcePath = LocalPropertyResolver.getProperty(LocalHiveMQSparkplugTCKService.class,
                 HiveMQProperties.HIVEMQ_RESOURCE_PATH);
 
@@ -42,7 +39,7 @@ public final class LocalHiveMQSparkplugTCKService extends AbstractLocalHiveMQSer
         String newImageName = newImage.get();
 
         HiveMQContainer newContainer
-                = new HiveMQContainer(DockerImageName.parse(newImageName).asCompatibleSubstituteFor(hivemqContainerName));
+                = new HiveMQContainer(DockerImageName.parse(newImageName).asCompatibleSubstituteFor("hivemq/hivemq-ce"));
 
         return newContainer;
     }
diff --git a/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/Dockerfile b/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/Dockerfile
index 4b72e275c8d..85d62357d46 100644
--- a/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/Dockerfile
+++ b/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/Dockerfile
@@ -17,7 +17,7 @@
 
 ARG HIVEMQ_VERSION=2024.6
 
-FROM hivemq/hivemq-ce:$HIVEMQ_VERSION as hivemq-ce-sparkplug-tck
+FROM mirror.gcr.io/hivemq/hivemq-ce:$HIVEMQ_VERSION as hivemq-ce-sparkplug-tck
 
 ARG SPARKPLUG_TCK_VERSION=3.0.0
 
diff --git a/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/container.properties b/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/container.properties
index a7d7e8f7612..1575a00ed31 100644
--- a/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/container.properties
+++ b/test-infra/camel-test-infra-hivemq/src/test/resources/org/apache/camel/test/infra/hivemq/services/container.properties
@@ -14,6 +14,6 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-hivemq.container=hivemq/hivemq-ce:2024.6
+hivemq.container=mirror.gcr.io/hivemq/hivemq-ce:2024.6
 hivemq.resource.path=org/apache/camel/test/infra/hivemq/services
 hivemq.sparkplug.container=localhost/hivemq-ce-sparkplug-tck:camel
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java b/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java
index 1d878169cb1..7a9d7164306 100644
--- a/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java
+++ b/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalAuthKafkaService.java
@@ -34,7 +34,7 @@ public class ContainerLocalAuthKafkaService implements KafkaService, ContainerSe
             super(DockerImageName.parse(System.getProperty(
                     KafkaProperties.KAFKA_CONTAINER,
                     ContainerLocalKafkaService.KAFKA3_IMAGE_NAME))
-                    .asCompatibleSubstituteFor(ContainerLocalKafkaService.KAFKA3_IMAGE_NAME));
+                    .asCompatibleSubstituteFor("confluentinc/cp-kafka"));
 
             withEmbeddedZookeeper();
 
diff --git a/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalKafkaService.java b/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalKafkaService.java
index 9685cfb2f75..a945dd3ae04 100644
--- a/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalKafkaService.java
+++ b/test-infra/camel-test-infra-kafka/src/test/java/org/apache/camel/test/infra/kafka/services/ContainerLocalKafkaService.java
@@ -45,7 +45,9 @@ public class ContainerLocalKafkaService implements KafkaService, ContainerServic
     }
 
     protected KafkaContainer initContainer() {
-        return new KafkaContainer(DockerImageName.parse(System.getProperty(KafkaProperties.KAFKA_CONTAINER, KAFKA3_IMAGE_NAME)))
+        return new KafkaContainer(
+                DockerImageName.parse(System.getProperty(KafkaProperties.KAFKA_CONTAINER, KAFKA3_IMAGE_NAME))
+                        .asCompatibleSubstituteFor("apache/kafka"))
                 .withEmbeddedZookeeper();
     }
 
@@ -81,7 +83,7 @@ public class ContainerLocalKafkaService implements KafkaService, ContainerServic
         KafkaContainer container
                 = new KafkaContainer(
                         DockerImageName.parse(System.getProperty(KafkaProperties.KAFKA_CONTAINER, KAFKA2_IMAGE_NAME))
-                                .asCompatibleSubstituteFor(ContainerLocalKafkaService.KAFKA2_IMAGE_NAME));
+                                .asCompatibleSubstituteFor("confluentinc/cp-kafka"));
         container = container.withEmbeddedZookeeper();
 
         return new ContainerLocalKafkaService(container);
@@ -91,7 +93,7 @@ public class ContainerLocalKafkaService implements KafkaService, ContainerServic
         KafkaContainer container
                 = new KafkaContainer(
                         DockerImageName.parse(System.getProperty(KafkaProperties.KAFKA_CONTAINER, KAFKA3_IMAGE_NAME))
-                                .asCompatibleSubstituteFor(ContainerLocalKafkaService.KAFKA3_IMAGE_NAME));
+                                .asCompatibleSubstituteFor("confluentinc/cp-kafka"));
         container = container.withEmbeddedZookeeper();
 
         return new ContainerLocalKafkaService(container);
diff --git a/test-infra/camel-test-infra-kafka/src/test/resources/org/apache/camel/test/infra/kafka/services/container.properties b/test-infra/camel-test-infra-kafka/src/test/resources/org/apache/camel/test/infra/kafka/services/container.properties
index aeac1025c92..dcb820bb1e0 100644
--- a/test-infra/camel-test-infra-kafka/src/test/resources/org/apache/camel/test/infra/kafka/services/container.properties
+++ b/test-infra/camel-test-infra-kafka/src/test/resources/org/apache/camel/test/infra/kafka/services/container.properties
@@ -14,7 +14,7 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-kafka3.container=confluentinc/cp-kafka:7.4.5
+kafka3.container=mirror.gcr.io/confluentinc/cp-kafka:7.4.5
 kafka2.container=confluentinc/cp-kafka:5.5.12
 redpanda.container.image=docker.redpanda.com/vectorized/redpanda:v23.3.18
 strimzi.container.image=quay.io/strimzi/kafka:latest-kafka-3.7.0
diff --git a/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/services/MilvusLocalContainerService.java b/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/services/MilvusLocalContainerService.java
index 2003351895c..52cd4f48a64 100644
--- a/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/services/MilvusLocalContainerService.java
+++ b/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/services/MilvusLocalContainerService.java
@@ -47,7 +47,7 @@ public class MilvusLocalContainerService implements MilvusService, ContainerServ
     }
 
     protected MilvusContainer initContainer(String imageName) {
-        return new MilvusContainer(DockerImageName.parse(imageName))
+        return new MilvusContainer(DockerImageName.parse(imageName).asCompatibleSubstituteFor("milvusdb/milvus"))
                 .withStartupTimeout(Duration.ofMinutes(3L));
     }
 
diff --git a/test-infra/camel-test-infra-milvus/src/test/resources/org/apache/camel/test/infra/milvus/services/container.properties b/test-infra/camel-test-infra-milvus/src/test/resources/org/apache/camel/test/infra/milvus/services/container.properties
index 761be677ba7..77a72123ff8 100644
--- a/test-infra/camel-test-infra-milvus/src/test/resources/org/apache/camel/test/infra/milvus/services/container.properties
+++ b/test-infra/camel-test-infra-milvus/src/test/resources/org/apache/camel/test/infra/milvus/services/container.properties
@@ -14,4 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-milvus.container=milvusdb/milvus:v2.4.5
+milvus.container=mirror.gcr.io/milvusdb/milvus:v2.4.5
+milvus.container.ppc64le=icr.io/ppc64le-oss/milvus-ppc64le:v2.4.11
diff --git a/test-infra/camel-test-infra-minio/src/test/resources/org/apache/camel/test/infra/minio/services/container.properties b/test-infra/camel-test-infra-minio/src/test/resources/org/apache/camel/test/infra/minio/services/container.properties
index 072a6361833..10e7272cea5 100644
--- a/test-infra/camel-test-infra-minio/src/test/resources/org/apache/camel/test/infra/minio/services/container.properties
+++ b/test-infra/camel-test-infra-minio/src/test/resources/org/apache/camel/test/infra/minio/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-minio.container=minio/minio:latest
\ No newline at end of file
+minio.container=mirror.gcr.io/minio/minio:RELEASE.2024-11-07T00-52-20Z-cpuv1
diff --git a/test-infra/camel-test-infra-mongodb/src/test/resources/org/apache/camel/test/infra/mongodb/services/container.properties b/test-infra/camel-test-infra-mongodb/src/test/resources/org/apache/camel/test/infra/mongodb/services/container.properties
index c888a16d58d..c48d54d4cd2 100644
--- a/test-infra/camel-test-infra-mongodb/src/test/resources/org/apache/camel/test/infra/mongodb/services/container.properties
+++ b/test-infra/camel-test-infra-mongodb/src/test/resources/org/apache/camel/test/infra/mongodb/services/container.properties
@@ -14,4 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-mongodb.container=mongo:7.0.12-jammy
\ No newline at end of file
+mongodb.container=mirror.gcr.io/mongo:7.0.12-jammy
+mongodb.container.ppc64le=icr.io/ppc64le-oss/mongodb-ppc64le:4.4.24
diff --git a/test-infra/camel-test-infra-mosquitto/src/test/resources/org/apache/camel/test/infra/mosquitto/services/container.properties b/test-infra/camel-test-infra-mosquitto/src/test/resources/org/apache/camel/test/infra/mosquitto/services/container.properties
index 1a9ae3e41d9..c3e87443e60 100644
--- a/test-infra/camel-test-infra-mosquitto/src/test/resources/org/apache/camel/test/infra/mosquitto/services/container.properties
+++ b/test-infra/camel-test-infra-mosquitto/src/test/resources/org/apache/camel/test/infra/mosquitto/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-mosquitto.container=eclipse-mosquitto:2.0.18
\ No newline at end of file
+mosquitto.container=mirror.gcr.io/eclipse-mosquitto:2.0.18
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-nats/src/test/resources/org/apache/camel/test/infra/nats/services/container.properties b/test-infra/camel-test-infra-nats/src/test/resources/org/apache/camel/test/infra/nats/services/container.properties
index fb09fd87c1b..12fbdbceaba 100644
--- a/test-infra/camel-test-infra-nats/src/test/resources/org/apache/camel/test/infra/nats/services/container.properties
+++ b/test-infra/camel-test-infra-nats/src/test/resources/org/apache/camel/test/infra/nats/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-nats.container=nats:2.10.18
+nats.container=mirror.gcr.io/nats:2.10.18
diff --git a/test-infra/camel-test-infra-ollama/src/test/resources/org/apache/camel/test/infra/ollama/services/container.properties b/test-infra/camel-test-infra-ollama/src/test/resources/org/apache/camel/test/infra/ollama/services/container.properties
index 03400a1ea4e..0774247a7ad 100644
--- a/test-infra/camel-test-infra-ollama/src/test/resources/org/apache/camel/test/infra/ollama/services/container.properties
+++ b/test-infra/camel-test-infra-ollama/src/test/resources/org/apache/camel/test/infra/ollama/services/container.properties
@@ -14,5 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-ollama.container=ollama/ollama:0.3.5
+ollama.container=mirror.gcr.io/ollama/ollama:0.3.5
 ollama.model=orca-mini
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-openldap/src/test/resources/org/apache/camel/test/infra/openldap/services/container.properties b/test-infra/camel-test-infra-openldap/src/test/resources/org/apache/camel/test/infra/openldap/services/container.properties
index aa5c4685c50..161c475c86f 100644
--- a/test-infra/camel-test-infra-openldap/src/test/resources/org/apache/camel/test/infra/openldap/services/container.properties
+++ b/test-infra/camel-test-infra-openldap/src/test/resources/org/apache/camel/test/infra/openldap/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-openldap.container=osixia/openldap:1.5.0
\ No newline at end of file
+openldap.container=mirror.gcr.io/osixia/openldap:1.5.0
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java b/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java
index 8ef49dbdea8..d3d2c4a3692 100644
--- a/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java
+++ b/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java
@@ -51,7 +51,8 @@ public class OpenSearchLocalContainerService implements OpenSearchService, Conta
     }
 
     protected OpensearchContainer initContainer(String imageName) {
-        OpensearchContainer opensearchContainer = new OpensearchContainer(imageName);
+        OpensearchContainer opensearchContainer = new OpensearchContainer(
+                DockerImageName.parse(imageName).asCompatibleSubstituteFor("opensearchproject/opensearch"));
         // Increase the timeout from 60 seconds to 90 seconds to ensure that it will be long enough
         // on the build pipeline
         opensearchContainer.setWaitStrategy(
diff --git a/test-infra/camel-test-infra-opensearch/src/test/resources/org/apache/camel/test/infra/opensearch/services/container.properties b/test-infra/camel-test-infra-opensearch/src/test/resources/org/apache/camel/test/infra/opensearch/services/container.properties
index 1ad5a3829aa..5fdd8b2db36 100644
--- a/test-infra/camel-test-infra-opensearch/src/test/resources/org/apache/camel/test/infra/opensearch/services/container.properties
+++ b/test-infra/camel-test-infra-opensearch/src/test/resources/org/apache/camel/test/infra/opensearch/services/container.properties
@@ -14,4 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-opensearch.container=opensearchproject/opensearch:2.14.0
+opensearch.container=mirror.gcr.io/opensearchproject/opensearch:2.14.0
+opensearch.container.ppc64le=icr.io/ppc64le-oss/opensearch-ppc64le:2.12.0
diff --git a/test-infra/camel-test-infra-postgres/src/test/resources/org/apache/camel/test/infra/postgres/services/container.properties b/test-infra/camel-test-infra-postgres/src/test/resources/org/apache/camel/test/infra/postgres/services/container.properties
index e059958ba9e..286dbdac83a 100644
--- a/test-infra/camel-test-infra-postgres/src/test/resources/org/apache/camel/test/infra/postgres/services/container.properties
+++ b/test-infra/camel-test-infra-postgres/src/test/resources/org/apache/camel/test/infra/postgres/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-postgres.container=postgres:13.15
\ No newline at end of file
+postgres.container=mirror.gcr.io/postgres:13.15
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-pulsar/src/test/java/org/apache/camel/test/infra/pulsar/services/PulsarLocalContainerService.java b/test-infra/camel-test-infra-pulsar/src/test/java/org/apache/camel/test/infra/pulsar/services/PulsarLocalContainerService.java
index 3a02c693502..5795d37a9d9 100644
--- a/test-infra/camel-test-infra-pulsar/src/test/java/org/apache/camel/test/infra/pulsar/services/PulsarLocalContainerService.java
+++ b/test-infra/camel-test-infra-pulsar/src/test/java/org/apache/camel/test/infra/pulsar/services/PulsarLocalContainerService.java
@@ -45,7 +45,7 @@ public class PulsarLocalContainerService implements PulsarService, ContainerServ
     }
 
     protected PulsarContainer initContainer(String imageName) {
-        return new PulsarContainer(DockerImageName.parse(imageName))
+        return new PulsarContainer(DockerImageName.parse(imageName).asCompatibleSubstituteFor("apachepulsar/pulsar"))
                 .withStartupTimeout(Duration.ofMinutes(3L));
     }
 
diff --git a/test-infra/camel-test-infra-pulsar/src/test/resources/org/apache/camel/test/infra/pulsar/services/container.properties b/test-infra/camel-test-infra-pulsar/src/test/resources/org/apache/camel/test/infra/pulsar/services/container.properties
index f126b143ff3..16ad01d0f05 100644
--- a/test-infra/camel-test-infra-pulsar/src/test/resources/org/apache/camel/test/infra/pulsar/services/container.properties
+++ b/test-infra/camel-test-infra-pulsar/src/test/resources/org/apache/camel/test/infra/pulsar/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-pulsar.container=apachepulsar/pulsar:3.3.0
\ No newline at end of file
+pulsar.container=mirror.gcr.io/apachepulsar/pulsar:3.3.0
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-qdrant/src/test/java/org/apache/camel/test/infra/qdrant/services/QdrantLocalContainerService.java b/test-infra/camel-test-infra-qdrant/src/test/java/org/apache/camel/test/infra/qdrant/services/QdrantLocalContainerService.java
index cd4b6bd0f1d..4e8bfe5e455 100644
--- a/test-infra/camel-test-infra-qdrant/src/test/java/org/apache/camel/test/infra/qdrant/services/QdrantLocalContainerService.java
+++ b/test-infra/camel-test-infra-qdrant/src/test/java/org/apache/camel/test/infra/qdrant/services/QdrantLocalContainerService.java
@@ -38,7 +38,7 @@ public class QdrantLocalContainerService implements QdrantService, ContainerServ
     }
 
     public QdrantLocalContainerService(String imageName) {
-        this(new QdrantContainer(DockerImageName.parse(imageName)));
+        this(new QdrantContainer(DockerImageName.parse(imageName).asCompatibleSubstituteFor("qdrant/qdrant")));
     }
 
     public QdrantLocalContainerService(QdrantContainer container) {
diff --git a/test-infra/camel-test-infra-qdrant/src/test/resources/org/apache/camel/test/infra/qdrant/services/container.properties b/test-infra/camel-test-infra-qdrant/src/test/resources/org/apache/camel/test/infra/qdrant/services/container.properties
index 219cd646cf3..d72390d1ab2 100644
--- a/test-infra/camel-test-infra-qdrant/src/test/resources/org/apache/camel/test/infra/qdrant/services/container.properties
+++ b/test-infra/camel-test-infra-qdrant/src/test/resources/org/apache/camel/test/infra/qdrant/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-qdrant.container=qdrant/qdrant:v1.9.7-unprivileged
\ No newline at end of file
+qdrant.container=mirror.gcr.io/qdrant/qdrant:v1.9.7-unprivileged
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java b/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java
index fe461ce2920..92c812acb11 100644
--- a/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java
+++ b/test-infra/camel-test-infra-rabbitmq/src/test/java/org/apache/camel/test/infra/rabbitmq/services/RabbitMQLocalContainerService.java
@@ -23,6 +23,7 @@ import org.apache.camel.test.infra.rabbitmq.common.RabbitMQProperties;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.testcontainers.containers.RabbitMQContainer;
+import org.testcontainers.utility.DockerImageName;
 
 public class RabbitMQLocalContainerService implements RabbitMQService, ContainerService<RabbitMQContainer> {
     private static final Logger LOG = LoggerFactory.getLogger(RabbitMQLocalContainerService.class);
@@ -42,7 +43,7 @@ public class RabbitMQLocalContainerService implements RabbitMQService, Container
     }
 
     protected RabbitMQContainer initContainer(String imageName) {
-        return new RabbitMQContainer(imageName);
+        return new RabbitMQContainer(DockerImageName.parse(imageName).asCompatibleSubstituteFor("rabbitmq"));
     }
 
     @Override
diff --git a/test-infra/camel-test-infra-rabbitmq/src/test/resources/org/apache/camel/test/infra/rabbitmq/services/container.properties b/test-infra/camel-test-infra-rabbitmq/src/test/resources/org/apache/camel/test/infra/rabbitmq/services/container.properties
index f51c841a4ad..eb6cce4971d 100644
--- a/test-infra/camel-test-infra-rabbitmq/src/test/resources/org/apache/camel/test/infra/rabbitmq/services/container.properties
+++ b/test-infra/camel-test-infra-rabbitmq/src/test/resources/org/apache/camel/test/infra/rabbitmq/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-rabbitmq.container=rabbitmq:3.13
+rabbitmq.container=mirror.gcr.io/rabbitmq:3.13
diff --git a/test-infra/camel-test-infra-redis/src/test/resources/org/apache/camel/test/infra/redis/services/container.properties b/test-infra/camel-test-infra-redis/src/test/resources/org/apache/camel/test/infra/redis/services/container.properties
index 1209c6ec61b..07bdb3f37e0 100644
--- a/test-infra/camel-test-infra-redis/src/test/resources/org/apache/camel/test/infra/redis/services/container.properties
+++ b/test-infra/camel-test-infra-redis/src/test/resources/org/apache/camel/test/infra/redis/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-redis.container=redis:6.2.14
\ No newline at end of file
+redis.container=mirror.gcr.io/redis:6.2.14
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-rocketmq/src/test/resources/org/apache/camel/test/infra/rocketmq/services/container.properties b/test-infra/camel-test-infra-rocketmq/src/test/resources/org/apache/camel/test/infra/rocketmq/services/container.properties
index 00bcdf96b4e..2c61a1d0c7e 100644
--- a/test-infra/camel-test-infra-rocketmq/src/test/resources/org/apache/camel/test/infra/rocketmq/services/container.properties
+++ b/test-infra/camel-test-infra-rocketmq/src/test/resources/org/apache/camel/test/infra/rocketmq/services/container.properties
@@ -14,5 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-rocketmq.container.image=apache/rocketmq
+rocketmq.container.image=mirror.gcr.io/apache/rocketmq
 rocketmq.container.image.version=5.2.0
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/Dockerfile b/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/Dockerfile
index c302072bd34..4b57fc59679 100644
--- a/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/Dockerfile
+++ b/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/Dockerfile
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-FROM fedora:39 as samba
+FROM mirror.gcr.io/fedora:39 as samba
 LABEL maintainer="orpiske@apache.org"
 ENV SAMBA_ROOT /opt/camel/samba
 EXPOSE 139 445
diff --git a/test-infra/camel-test-infra-solr/src/test/resources/org/apache/camel/test/infra/solr/services/container.properties b/test-infra/camel-test-infra-solr/src/test/resources/org/apache/camel/test/infra/solr/services/container.properties
index 74dd9843627..d00061d5eb7 100644
--- a/test-infra/camel-test-infra-solr/src/test/resources/org/apache/camel/test/infra/solr/services/container.properties
+++ b/test-infra/camel-test-infra-solr/src/test/resources/org/apache/camel/test/infra/solr/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-solr.container=solr:9.6.1-slim
+solr.container=mirror.gcr.io/solr:9.6.1-slim
diff --git a/test-infra/camel-test-infra-xmpp/src/test/resources/org/apache/camel/test/infra/xmpp/services/container.properties b/test-infra/camel-test-infra-xmpp/src/test/resources/org/apache/camel/test/infra/xmpp/services/container.properties
index 2d1f6b377c6..b691084fff3 100644
--- a/test-infra/camel-test-infra-xmpp/src/test/resources/org/apache/camel/test/infra/xmpp/services/container.properties
+++ b/test-infra/camel-test-infra-xmpp/src/test/resources/org/apache/camel/test/infra/xmpp/services/container.properties
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-xmpp.container=5mattho/vysper-wrapper:0.3
\ No newline at end of file
+xmpp.container=mirror.gcr.io/5mattho/vysper-wrapper:0.3
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties b/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties
index b8026d1eb0e..a40948aa3c3 100644
--- a/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties
+++ b/test-infra/camel-test-infra-zookeeper/src/test/resources/org/apache/camel/test/infra/zookeeper/services/container.properties
@@ -14,5 +14,5 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-zookeeper.container=zookeeper:3.9
+zookeeper.container=mirror.gcr.io/zookeeper:3.9
 zookeeper.container.ppc64le=icr.io/ppc64le-oss/zookeeper-ppc64le:3.5.10
\ No newline at end of file


(camel) 03/11: (chores) camel-minio: disable tests on s390x

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cfb4de7eb98f2aca5b6b7fd328867300a48e73ad
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Nov 8 09:22:14 2024 +0100

    (chores) camel-minio: disable tests on s390x
    
    The container required for the test runs unreliably
---
 components/camel-minio/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/components/camel-minio/pom.xml b/components/camel-minio/pom.xml
index 2b27951aa99..21265c18c46 100644
--- a/components/camel-minio/pom.xml
+++ b/components/camel-minio/pom.xml
@@ -32,6 +32,11 @@
     <name>Camel :: MinIO</name>
     <description>Store and retrieve objects from Minio Storage Service</description>
 
+    <properties>
+        <!-- Minio container is not available on s390x -->
+        <skipITs.s390x>true</skipITs.s390x>
+    </properties>
+
     <dependencies>
 
         <dependency>


(camel) 02/11: (chores) camel-core: disable broken tests on s390x

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7098f530d77c7e7e70d9764b31fd350b4f5fe60e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Nov 8 09:23:46 2024 +0100

    (chores) camel-core: disable broken tests on s390x
    
    Disable tests that do not run reliably on s390x
---
 .../org/apache/camel/component/controlbus/ControlBusFailRouteTest.java | 3 +++
 .../camel/processor/MulticastParallelTimeoutStreamCachingTest.java     | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/core/camel-core/src/test/java/org/apache/camel/component/controlbus/ControlBusFailRouteTest.java b/core/camel-core/src/test/java/org/apache/camel/component/controlbus/ControlBusFailRouteTest.java
index 9034d748a35..61e6bafe0f0 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/controlbus/ControlBusFailRouteTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/controlbus/ControlBusFailRouteTest.java
@@ -25,10 +25,13 @@ import org.apache.camel.spi.RouteController;
 import org.apache.camel.spi.RouteError;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
 
 import static org.awaitility.Awaitility.await;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
+@DisabledOnOs(architectures = { "s390x" },
+              disabledReason = "This test does not run reliably on s390x")
 public class ControlBusFailRouteTest extends ContextTestSupport {
 
     @Test
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutStreamCachingTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutStreamCachingTest.java
index 1bbe2dc1a97..6b7040a93b0 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutStreamCachingTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutStreamCachingTest.java
@@ -30,6 +30,7 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.converter.stream.CachedOutputStream;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
+import org.junit.jupiter.api.condition.DisabledOnOs;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
@@ -39,6 +40,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
  *
  */
 @DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Github CI")
+@DisabledOnOs(architectures = { "s390x" },
+              disabledReason = "This test does not run reliably on s390x")
 public class MulticastParallelTimeoutStreamCachingTest extends ContextTestSupport {
 
     private static final String BODY_STRING = "message body";


(camel) 05/11: CAMEL-21438: disable unreliable tests on s390x

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit df7076d8f51c097d8d6abd2045f67ef26b8a4e1d
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Nov 12 10:37:47 2024 +0100

    CAMEL-21438: disable unreliable tests on s390x
---
 .../camel/component/lumberjack/LumberjackComponentTest.java       | 5 +++++
 .../camel/component/lumberjack/LumberjackMultiThreadIT.java       | 5 +++++
 .../camel/component/file/FileSortByIgnoreCaseExpressionTest.java  | 5 +++++
 .../processor/ResequenceBatchNotIgnoreInvalidExchangesTest.java   | 8 +++++---
 .../camel/processor/ResequenceStreamRejectOldExchangesTest.java   | 8 +++++---
 .../java/org/apache/camel/processor/StreamResequencerTest.java    | 5 +++++
 .../org/apache/camel/processor/ThreadsRejectedExecutionTest.java  | 5 +++++
 7 files changed, 35 insertions(+), 6 deletions(-)

diff --git a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackComponentTest.java b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackComponentTest.java
index 7c07fcfb4a9..30a05550b2c 100644
--- a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackComponentTest.java
+++ b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackComponentTest.java
@@ -26,9 +26,14 @@ import org.apache.camel.test.AvailablePortFinder;
 import org.apache.camel.test.junit5.CamelTestSupport;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "s390x" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 public class LumberjackComponentTest extends CamelTestSupport {
     private static int port;
 
diff --git a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java
index bd35a5486ff..f5cf3a7a4de 100644
--- a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java
+++ b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java
@@ -31,11 +31,16 @@ import org.awaitility.Awaitility;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 import org.junit.jupiter.api.parallel.Isolated;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "s390x" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 @Isolated
 public class LumberjackMultiThreadIT extends CamelTestSupport {
 
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/FileSortByIgnoreCaseExpressionTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/FileSortByIgnoreCaseExpressionTest.java
index 694be86b4b5..6bc19c45f21 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/file/FileSortByIgnoreCaseExpressionTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/file/FileSortByIgnoreCaseExpressionTest.java
@@ -21,10 +21,15 @@ import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 
 /**
  * Unit test for the file sort by expression
  */
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "ppc64le" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 public class FileSortByIgnoreCaseExpressionTest extends ContextTestSupport {
 
     private void prepareFolder(String folder) {
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceBatchNotIgnoreInvalidExchangesTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceBatchNotIgnoreInvalidExchangesTest.java
index 305e4253f10..44da90fbc93 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceBatchNotIgnoreInvalidExchangesTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceBatchNotIgnoreInvalidExchangesTest.java
@@ -17,10 +17,12 @@
 package org.apache.camel.processor;
 
 import org.apache.camel.builder.RouteBuilder;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 
-/**
- *
- */
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "s390x" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 public class ResequenceBatchNotIgnoreInvalidExchangesTest extends ResequenceStreamNotIgnoreInvalidExchangesTest {
 
     @Override
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceStreamRejectOldExchangesTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceStreamRejectOldExchangesTest.java
index fe8520d07b8..6731271190d 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceStreamRejectOldExchangesTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/ResequenceStreamRejectOldExchangesTest.java
@@ -20,10 +20,12 @@ import org.apache.camel.ContextTestSupport;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.processor.resequencer.MessageRejectedException;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 
-/**
- *
- */
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "s390x" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 public class ResequenceStreamRejectOldExchangesTest extends ContextTestSupport {
 
     @Test
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java
index 788caca70c8..dc8e6767251 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java
@@ -32,10 +32,15 @@ import org.apache.camel.impl.engine.DefaultRoute;
 import org.apache.camel.processor.errorhandler.DefaultErrorHandler;
 import org.apache.camel.support.service.ServiceHelper;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "s390x" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 public class StreamResequencerTest extends ContextTestSupport {
 
     protected void sendBodyAndHeader(String endpointUri, final Object body, final String headerName, final Object headerValue) {
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/ThreadsRejectedExecutionTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/ThreadsRejectedExecutionTest.java
index 8c99be6ece6..78839584924 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/ThreadsRejectedExecutionTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/ThreadsRejectedExecutionTest.java
@@ -27,10 +27,15 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "s390x" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 public class ThreadsRejectedExecutionTest extends ContextTestSupport {
 
     @Override


(camel) 07/11: CAMEL-21438: disable unreliable test on s390x

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 9bb578e24449475adbaf4f4a70f77744ef9e7300
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 3 16:06:57 2025 +0100

    CAMEL-21438: disable unreliable test on s390x
---
 .../infinispan/embedded/InfinispanEmbeddedClusteredConsumerTest.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/components/camel-infinispan/camel-infinispan-embedded/src/test/java/org/apache/camel/component/infinispan/embedded/InfinispanEmbeddedClusteredConsumerTest.java b/components/camel-infinispan/camel-infinispan-embedded/src/test/java/org/apache/camel/component/infinispan/embedded/InfinispanEmbeddedClusteredConsumerTest.java
index 90af4d356f9..97b3deb5fac 100644
--- a/components/camel-infinispan/camel-infinispan-embedded/src/test/java/org/apache/camel/component/infinispan/embedded/InfinispanEmbeddedClusteredConsumerTest.java
+++ b/components/camel-infinispan/camel-infinispan-embedded/src/test/java/org/apache/camel/component/infinispan/embedded/InfinispanEmbeddedClusteredConsumerTest.java
@@ -26,9 +26,14 @@ import org.infinispan.distribution.MagicKey;
 import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
 
 import static org.junit.jupiter.api.Assertions.assertNull;
 
+@DisabledOnOs(value = { OS.LINUX },
+              architectures = { "s390x" },
+              disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
 public class InfinispanEmbeddedClusteredConsumerTest extends InfinispanEmbeddedClusteredTestSupport {
 
     private static final long WAIT_TIMEOUT = 5000;


(camel) 01/11: (chores) camel-smb: disable tests on s390x

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit d2d479daf02abfecfd8fac6474d7079b1201b886
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Nov 8 09:26:53 2024 +0100

    (chores) camel-smb: disable tests on s390x
    
    The container required for the test runs unreliably
---
 .../src/test/java/org/apache/camel/component/smb/SmbComponentIT.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/components/camel-smb/src/test/java/org/apache/camel/component/smb/SmbComponentIT.java b/components/camel-smb/src/test/java/org/apache/camel/component/smb/SmbComponentIT.java
index 7d1eba98679..07a7ac5c2de 100644
--- a/components/camel-smb/src/test/java/org/apache/camel/component/smb/SmbComponentIT.java
+++ b/components/camel-smb/src/test/java/org/apache/camel/component/smb/SmbComponentIT.java
@@ -30,10 +30,13 @@ import org.apache.camel.test.infra.smb.services.SmbService;
 import org.apache.camel.test.infra.smb.services.SmbServiceFactory;
 import org.apache.camel.test.junit5.CamelTestSupport;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
 import org.junit.jupiter.api.extension.RegisterExtension;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@DisabledOnOs(architectures = { "s390x" },
+              disabledReason = "This test does not run reliably on s390x")
 public class SmbComponentIT extends CamelTestSupport {
     private static final Logger LOG = LoggerFactory.getLogger(SmbComponentIT.class);
 


(camel) 08/11: CAMEL-21585: resolve platform containers automatically

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a7b99ec570641b688ce450dc4efd2daf6adbdb12
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jan 6 13:22:41 2025 +0000

    CAMEL-21585: resolve platform containers automatically
---
 .../test/infra/common/LocalPropertyResolver.java      | 19 +++++++++++++++++++
 .../test/infra/milvus/common/MilvusProperties.java    |  2 --
 .../services/OpenSearchLocalContainerService.java     |  1 +
 3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/test-infra/camel-test-infra-common/src/test/java/org/apache/camel/test/infra/common/LocalPropertyResolver.java b/test-infra/camel-test-infra-common/src/test/java/org/apache/camel/test/infra/common/LocalPropertyResolver.java
index 884a5f478fe..3d5fa1d440c 100644
--- a/test-infra/camel-test-infra-common/src/test/java/org/apache/camel/test/infra/common/LocalPropertyResolver.java
+++ b/test-infra/camel-test-infra-common/src/test/java/org/apache/camel/test/infra/common/LocalPropertyResolver.java
@@ -24,6 +24,12 @@ public class LocalPropertyResolver {
 
     public static final String CONTAINER_PROPERTIES_FILE_NAME = "container.properties";
 
+    /**
+     * Resolves the container to use. Platform-specific containers are resolved automatically
+     *
+     * @param  propertyName The property name pointing to the container
+     * @return
+     */
     public static String getProperty(Class<?> clazz, String propertyName) {
         return System.getProperty(propertyName, getPropertyFromContainersPropertiesFile(clazz, propertyName));
     }
@@ -39,6 +45,19 @@ public class LocalPropertyResolver {
             throw new RuntimeException(errorMessage, e);
         }
 
+        return resolveProperty(properties, propertyName);
+    }
+
+    private static String resolveProperty(Properties properties, String propertyName) {
+        // This should append the 'os.arch' version to the property (typically, one of amd64, aarch64, ppc64le or s390x)
+        String platformProperty = String.format("%s.%s", propertyName, System.getProperty("os.arch"));
+
+        // Platform properties take precedence
+        String value = properties.getProperty(platformProperty);
+        if (value != null && !value.isEmpty()) {
+            return value;
+        }
+
         return properties.getProperty(propertyName);
     }
 
diff --git a/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/common/MilvusProperties.java b/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/common/MilvusProperties.java
index 745053d6343..79803904f41 100644
--- a/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/common/MilvusProperties.java
+++ b/test-infra/camel-test-infra-milvus/src/test/java/org/apache/camel/test/infra/milvus/common/MilvusProperties.java
@@ -19,9 +19,7 @@ package org.apache.camel.test.infra.milvus.common;
 
 public final class MilvusProperties {
     public static final String MILVUS_ENDPOINT_URL = "milvus.endpoint.url";
-
     public static final String MILVUS_ENDPOINT_HOST = "milvus.endpoint.host";
-
     public static final String MILVUS_ENDPOINT_PORT = "milvus.endpoint.port";
     public static final String MILVUS_CONTAINER = "milvus.container";
 
diff --git a/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java b/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java
index f572c629355..8ef49dbdea8 100644
--- a/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java
+++ b/test-infra/camel-test-infra-opensearch/src/test/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerService.java
@@ -28,6 +28,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.testcontainers.containers.output.Slf4jLogConsumer;
 import org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy;
+import org.testcontainers.utility.DockerImageName;
 
 public class OpenSearchLocalContainerService implements OpenSearchService, ContainerService<OpensearchContainer> {
     private static final Logger LOG = LoggerFactory.getLogger(OpenSearchLocalContainerService.class);


(camel) 04/11: (chores) camel-djl: prevent resource-intensive test from running on CI environments

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e20bd1882510264ad8c5adb8ffb273665b98ea79
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Nov 8 09:12:32 2024 +0100

    (chores) camel-djl: prevent resource-intensive test from running on CI environments
---
 .../org/apache/camel/component/djl/CvImageEnhancementLocalTest.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java b/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java
index 1292aa3663d..e3c6c4f613c 100644
--- a/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java
+++ b/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java
@@ -38,9 +38,12 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.test.junit5.CamelTestSupport;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
+                          disabledReason = "Requires too much network resources")
 public class CvImageEnhancementLocalTest extends CamelTestSupport {
     private static final Logger LOG = LoggerFactory.getLogger(CvImageEnhancementLocalTest.class);