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 10e5f5f4820b62d22ad381038cd858fd97348673 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon May 15 13:42:12 2023 +0200 (chores) camel-google-pubsub: cleanup disabling tests on platforms where it's not available --- Jenkinsfile.ppc64le | 2 +- components/camel-google/camel-google-pubsub/pom.xml | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile.ppc64le b/Jenkinsfile.ppc64le index 6a993d2921b..1a49b4ac832 100644 --- a/Jenkinsfile.ppc64le +++ b/Jenkinsfile.ppc64le @@ -85,7 +85,7 @@ pipeline { steps { timeout(unit: 'HOURS', time: 7) { // Skip the test case execution of modules which are either not supported on ppc64le or vendor images are not available for ppc64le. - sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS $MAVEN_TEST_LIMIT_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl '!docs,!components/camel-google/camel-google-pubsub,!components/camel-hdfs,!components/camel-zookeeper,!components/camel-zookeeper-master'" + sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS $MAVEN_TEST_LIMIT_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl '!docs,!components/camel-hdfs,!components/camel-zookeeper,!components/camel-zookeeper-master'" } } post { diff --git a/components/camel-google/camel-google-pubsub/pom.xml b/components/camel-google/camel-google-pubsub/pom.xml index 9dfdd65dda0..31dd03d080b 100644 --- a/components/camel-google/camel-google-pubsub/pom.xml +++ b/components/camel-google/camel-google-pubsub/pom.xml @@ -85,6 +85,21 @@ <type>test-jar</type> <scope>test</scope> </dependency> - </dependencies> + + <profiles> + <profile> + <!-- The emulator is only available for on x86 64 --> + <id>Notx86</id> + <activation> + <os> + <arch>!amd64</arch> + </os> + </activation> + <properties> + <skipTests>true</skipTests> + <skipITs>true</skipITs> + </properties> + </profile> + </profiles> </project>
