From a39631bdb665edca67095b51f973d76f161af1e0 Mon Sep 17 00:00:00 2001 From: Fedor Dudinskiy Date: Tue, 11 Jul 2023 17:25:37 +0200 Subject: [PATCH] Disable tests which use management interface Since [1] does not seem to be fixed soon [1] https://github.com/quarkusio/quarkus/issues/34645 --- .../java/io/quarkus/qe/extension/OpenShiftDockerBuildIT.java | 5 +++++ .../java/io/quarkus/qe/extension/OpenShiftExtensionIT.java | 5 +++++ .../ts/micrometer/prometheus/OpenShiftCustomMetricsIT.java | 2 ++ 3 files changed, 12 insertions(+) diff --git a/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftDockerBuildIT.java b/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftDockerBuildIT.java index d06b790f05..ee7641f026 100644 --- a/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftDockerBuildIT.java +++ b/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftDockerBuildIT.java @@ -2,7 +2,12 @@ import io.quarkus.test.scenarios.OpenShiftDeploymentStrategy; import io.quarkus.test.scenarios.OpenShiftScenario; +import org.junit.jupiter.api.Disabled; @OpenShiftScenario(deployment = OpenShiftDeploymentStrategy.UsingOpenShiftExtensionAndDockerBuildStrategy) public class OpenShiftDockerBuildIT extends OpenShiftBaseDeploymentIT { + @Override + @Disabled("https://github.com/quarkusio/quarkus/issues/34645") + public void health() { + } } diff --git a/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftExtensionIT.java b/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftExtensionIT.java index 7aa9e9577e..56c5e49f06 100644 --- a/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftExtensionIT.java +++ b/http/management/src/test/java/io/quarkus/qe/extension/OpenShiftExtensionIT.java @@ -2,7 +2,12 @@ import io.quarkus.test.scenarios.OpenShiftDeploymentStrategy; import io.quarkus.test.scenarios.OpenShiftScenario; +import org.junit.jupiter.api.Disabled; @OpenShiftScenario(deployment = OpenShiftDeploymentStrategy.UsingOpenShiftExtension) public class OpenShiftExtensionIT extends OpenShiftBaseDeploymentIT { + @Override + @Disabled("https://github.com/quarkusio/quarkus/issues/34645") + public void health() { + } } diff --git a/monitoring/micrometer-prometheus/src/test/java/io/quarkus/ts/micrometer/prometheus/OpenShiftCustomMetricsIT.java b/monitoring/micrometer-prometheus/src/test/java/io/quarkus/ts/micrometer/prometheus/OpenShiftCustomMetricsIT.java index 67467c28aa..6fb68fda6f 100644 --- a/monitoring/micrometer-prometheus/src/test/java/io/quarkus/ts/micrometer/prometheus/OpenShiftCustomMetricsIT.java +++ b/monitoring/micrometer-prometheus/src/test/java/io/quarkus/ts/micrometer/prometheus/OpenShiftCustomMetricsIT.java @@ -12,6 +12,7 @@ import org.apache.http.HttpStatus; import org.jboss.logging.Logger; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import io.quarkus.test.bootstrap.RestService; @@ -27,6 +28,7 @@ * - `prime_number_test_{uniqueId}`: with information about the calculation of the prime number. */ @OpenShiftScenario(deployment = OpenShiftDeploymentStrategy.UsingOpenShiftExtension) +@Disabled("https://github.com/quarkusio/quarkus/issues/34645") public class OpenShiftCustomMetricsIT { private static final Logger LOG = Logger.getLogger(OpenShiftCustomMetricsIT.class);