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/16 06:30:54 UTC
[camel] branch main updated: (chores) camel-elasticsearch: disable tests on non-x86 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 62b3425155d (chores) camel-elasticsearch: disable tests on non-x86 architectures
62b3425155d is described below
commit 62b3425155d077f26b816b5f48ef8d781ffec934
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue May 16 08:30:39 2023 +0200
(chores) camel-elasticsearch: disable tests on non-x86 architectures
---
components/camel-elasticsearch/pom.xml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/components/camel-elasticsearch/pom.xml b/components/camel-elasticsearch/pom.xml
index da1747810d5..68c4f2afafd 100644
--- a/components/camel-elasticsearch/pom.xml
+++ b/components/camel-elasticsearch/pom.xml
@@ -33,6 +33,7 @@
<description>Camel ElasticSearch Java API Client support</description>
<properties>
+ <skipITs>true</skipITs>
</properties>
<dependencies>
@@ -101,4 +102,30 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <!-- Elasticsearch 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>