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 2023/05/17 08:19:46 UTC

[camel] branch main updated: (chores) camel-cassandraql: disable tests on non-x86/arm architectures

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

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


The following commit(s) were added to refs/heads/main by this push:
     new a081c72f826 (chores) camel-cassandraql: disable tests on non-x86/arm architectures
a081c72f826 is described below

commit a081c72f8264f15fc2af2c85315887ab171018fd
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed May 17 10:19:16 2023 +0200

    (chores) camel-cassandraql: disable tests on non-x86/arm architectures
---
 components/camel-cassandraql/pom.xml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/components/camel-cassandraql/pom.xml b/components/camel-cassandraql/pom.xml
index 20153f332b2..820008b49a6 100644
--- a/components/camel-cassandraql/pom.xml
+++ b/components/camel-cassandraql/pom.xml
@@ -33,6 +33,10 @@
     <name>Camel :: Cassandra CQL</name>
     <description>Cassandra CQL3 support</description>
 
+    <properties>
+        <skipITs>true</skipITs>
+    </properties>
+
     <dependencies>
 
         <dependency>
@@ -88,4 +92,30 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <profiles>
+        <profile>
+            <!-- Localstack container is only available for x86 64 and ARM 64 -->
+            <id>x86</id>
+            <activation>
+                <os>
+                    <arch>amd64</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipITs>false</skipITs>
+            </properties>
+        </profile>
+        <profile>
+            <id>Arm</id>
+            <activation>
+                <os>
+                    <arch>aarch64</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipITs>false</skipITs>
+            </properties>
+        </profile>
+    </profiles>
 </project>