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/19 08:20:54 UTC
[camel] 01/02: (chores) camel-mongodb: 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
commit 2fded22c5eb651f7eee9d72b09ac72d8cf7012ef
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri May 19 10:20:10 2023 +0200
(chores) camel-mongodb: disable tests on non-x86/arm architectures
---
components/camel-mongodb/pom.xml | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/components/camel-mongodb/pom.xml b/components/camel-mongodb/pom.xml
index 2d8ad584e26..2b4c773e5e7 100644
--- a/components/camel-mongodb/pom.xml
+++ b/components/camel-mongodb/pom.xml
@@ -31,8 +31,11 @@
<name>Camel :: MongoDB</name>
<description>Camel MongoDB (Java Driver 3) component</description>
- <dependencies>
+ <properties>
+ <skipITs>true</skipITs>
+ </properties>
+ <dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-support</artifactId>
@@ -107,14 +110,26 @@
<profiles>
<profile>
- <id>ppc64le</id>
+ <!-- MongoDB 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>ppc64le</arch>
+ <arch>aarch64</arch>
</os>
</activation>
<properties>
- <skipITs>true</skipITs>
+ <skipITs>false</skipITs>
</properties>
</profile>
</profiles>