From ba231918a56935f970287cca8db2ad4ff3bb39e6 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Fri, 1 Apr 2022 13:23:14 +0300 Subject: [PATCH] Disable Rest client tests that use external (now expired) certificates --- .../it/rest/client/selfsigned/ExternalSelfSignedITCase.java | 2 ++ .../it/rest/client/selfsigned/ExternalSelfSignedTestCase.java | 2 ++ .../quarkus/it/rest/client/trustall/ExternalTlsTrustAllIT.java | 2 ++ .../it/rest/client/trustall/ExternalTlsTrustAllTestCase.java | 2 ++ .../quarkus/it/rest/client/wronghost/ExternalWrongHostIT.java | 2 ++ .../it/rest/client/wronghost/ExternalWrongHostTestCase.java | 2 ++ 6 files changed, 12 insertions(+) diff --git a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedITCase.java b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedITCase.java index 291c7d569b3e8..1190fbb04de24 100644 --- a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedITCase.java +++ b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedITCase.java @@ -1,8 +1,10 @@ package io.quarkus.it.rest.client.selfsigned; import io.quarkus.test.junit.QuarkusIntegrationTest; +import org.junit.jupiter.api.Disabled; @QuarkusIntegrationTest +@Disabled("certificate expired") public class ExternalSelfSignedITCase extends ExternalSelfSignedTestCase { } diff --git a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedTestCase.java b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedTestCase.java index a181c9e615990..50bc66973a0db 100644 --- a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedTestCase.java +++ b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/selfsigned/ExternalSelfSignedTestCase.java @@ -5,11 +5,13 @@ import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.not; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import io.quarkus.test.junit.QuarkusTest; @QuarkusTest +@Disabled("certificate expired") public class ExternalSelfSignedTestCase { @Test diff --git a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllIT.java b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllIT.java index eb32fde0480ca..8708b6b575b5b 100644 --- a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllIT.java +++ b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllIT.java @@ -1,7 +1,9 @@ package io.quarkus.it.rest.client.trustall; import io.quarkus.test.junit.QuarkusIntegrationTest; +import org.junit.jupiter.api.Disabled; @QuarkusIntegrationTest +@Disabled("certificate expired") public class ExternalTlsTrustAllIT extends ExternalTlsTrustAllTestCase { } diff --git a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllTestCase.java b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllTestCase.java index ba89527182f5d..d02fecf3d381b 100644 --- a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllTestCase.java +++ b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/trustall/ExternalTlsTrustAllTestCase.java @@ -3,6 +3,7 @@ import static io.restassured.RestAssured.when; import static org.hamcrest.Matchers.is; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import io.quarkus.test.common.QuarkusTestResource; @@ -10,6 +11,7 @@ @QuarkusTest @QuarkusTestResource(ExternalTlsTrustAllTestResource.class) +@Disabled("certificate expired") public class ExternalTlsTrustAllTestCase { @Test diff --git a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostIT.java b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostIT.java index ab7625fee03e1..5fdb9beece997 100644 --- a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostIT.java +++ b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostIT.java @@ -1,7 +1,9 @@ package io.quarkus.it.rest.client.wronghost; import io.quarkus.test.junit.QuarkusIntegrationTest; +import org.junit.jupiter.api.Disabled; @QuarkusIntegrationTest +@Disabled("certificate expired") public class ExternalWrongHostIT extends ExternalWrongHostTestCase { } diff --git a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostTestCase.java b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostTestCase.java index 5cfc0380d7c2e..eda99303696d5 100644 --- a/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostTestCase.java +++ b/integration-tests/rest-client/src/test/java/io/quarkus/it/rest/client/wronghost/ExternalWrongHostTestCase.java @@ -5,6 +5,7 @@ import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.Matchers.is; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import io.quarkus.test.common.QuarkusTestResource; @@ -12,6 +13,7 @@ @QuarkusTest @QuarkusTestResource(ExternalWrongHostTestResource.class) +@Disabled("certificate expired") public class ExternalWrongHostTestCase { @Test