prasanna-marathe commented on code in PR #429:
URL: 
https://github.com/apache/camel-quarkus-examples/pull/429#discussion_r2526904373


##########
artemis-elasticsearch/src/test/java/org/acme/resource/ElasticSearchTestResource.java:
##########
@@ -22,22 +22,27 @@
 import io.quarkus.test.common.QuarkusTestResourceLifecycleManager;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.apache.commons.lang3.SystemUtils;
 import org.testcontainers.containers.wait.strategy.Wait;
 import org.testcontainers.elasticsearch.ElasticsearchContainer;
 import org.testcontainers.utility.DockerImageName;
 
 public class ElasticSearchTestResource implements 
QuarkusTestResourceLifecycleManager {
     private static final Logger LOG = 
LoggerFactory.getLogger(ElasticSearchTestResource.class);
 
-    private static final String IMAGE_NAME = 
"mirror.gcr.io/elastic/elasticsearch:8.13.2";
+    private static String IMAGE_NAME = 
"mirror.gcr.io/elastic/elasticsearch:8.13.2";

Review Comment:
   updated code 



##########
artemis-elasticsearch/src/test/java/org/acme/resource/CustomPahoTestResource.java:
##########
@@ -20,18 +20,26 @@
 import java.util.Map;
 
 import io.quarkus.test.common.QuarkusTestResourceLifecycleManager;
+import org.apache.commons.lang3.SystemUtils;
 import org.testcontainers.containers.GenericContainer;
 import org.testcontainers.utility.DockerImageName;
 
 public class CustomPahoTestResource implements 
QuarkusTestResourceLifecycleManager {
-    private static final String IMAGE_NAME = 
"quay.io/artemiscloud/activemq-artemis-broker:1.0.26";
+    private static String IMAGE_NAME;
     private static final String AMQ_USER = "admin";
     private static final String AMQ_PASSWORD = "admin";
     private static final String AMQ_EXTRA_ARGS = "--relax-jolokia 
--no-autotune --mapped --no-fsync 
--java-options=-Dbrokerconfig.maxDiskUsage=-1";
     private GenericContainer<?> container;
 
+
     @Override
     public Map<String, String> start() {
+    if ("ppc64le".equals(SystemUtils.OS_ARCH))
+            IMAGE_NAME = 
"icr.io/ppc64le-oss/activemq-artemis-broker-ppc64le:2.0.2";
+    else
+           IMAGE_NAME = "quay.io/artemiscloud/activemq-artemis-broker:1.0.26";
+
+
         container = new GenericContainer<>(DockerImageName.parse(IMAGE_NAME))

Review Comment:
   updated code as per comment



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to