From b4076039cafce7ceb736c47782b16a1f8eed3836 Mon Sep 17 00:00:00 2001 From: Ram <157704087+ramdr@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:45:12 +0530 Subject: [PATCH] Skip service-binding Postgres test on s390x (#1745) Co-authored-by: Ram --- .../io/quarkus/ts/sb/postgresql/OpenShiftPostgreSqlSbIT.java | 2 ++ .../quarkus/ts/sb/reactive/OpenShiftPostgreSqlReactiveSbIT.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/service-binding/postgresql-crunchy-classic/src/test/java/io/quarkus/ts/sb/postgresql/OpenShiftPostgreSqlSbIT.java b/service-binding/postgresql-crunchy-classic/src/test/java/io/quarkus/ts/sb/postgresql/OpenShiftPostgreSqlSbIT.java index 91f331b5a..ccb0923d8 100644 --- a/service-binding/postgresql-crunchy-classic/src/test/java/io/quarkus/ts/sb/postgresql/OpenShiftPostgreSqlSbIT.java +++ b/service-binding/postgresql-crunchy-classic/src/test/java/io/quarkus/ts/sb/postgresql/OpenShiftPostgreSqlSbIT.java @@ -12,6 +12,7 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import io.quarkus.test.bootstrap.RestService; import io.quarkus.test.bootstrap.inject.OpenShiftClient; @@ -22,6 +23,7 @@ import io.quarkus.test.utils.Command; @OpenShiftScenario(deployment = OpenShiftDeploymentStrategy.UsingOpenShiftExtensionAndDockerBuildStrategy) +@DisabledIfSystemProperty(named = "ts.ibm-z-p.missing.services.excludes", matches = "true", disabledReason = "Crunchy Postgres operator not available on s390x & ppc64le.") public class OpenShiftPostgreSqlSbIT { @Inject diff --git a/service-binding/postgresql-crunchy-reactive/src/test/java/io/quarkus/ts/sb/reactive/OpenShiftPostgreSqlReactiveSbIT.java b/service-binding/postgresql-crunchy-reactive/src/test/java/io/quarkus/ts/sb/reactive/OpenShiftPostgreSqlReactiveSbIT.java index e70fc5834..4c657b734 100644 --- a/service-binding/postgresql-crunchy-reactive/src/test/java/io/quarkus/ts/sb/reactive/OpenShiftPostgreSqlReactiveSbIT.java +++ b/service-binding/postgresql-crunchy-reactive/src/test/java/io/quarkus/ts/sb/reactive/OpenShiftPostgreSqlReactiveSbIT.java @@ -13,6 +13,7 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import io.quarkus.test.bootstrap.RestService; import io.quarkus.test.bootstrap.inject.OpenShiftClient; @@ -23,6 +24,7 @@ import io.quarkus.test.utils.Command; @OpenShiftScenario(deployment = OpenShiftDeploymentStrategy.UsingOpenShiftExtensionAndDockerBuildStrategy) +@DisabledIfSystemProperty(named = "ts.ibm-z-p.missing.services.excludes", matches = "true", disabledReason = "Crunchy Postgres operator not available on s390x & ppc64le.") public class OpenShiftPostgreSqlReactiveSbIT { private static final String PG_CLUSTER_YML = "pg-cluster.yml";