From c6712547452b6a9fc222f44a57db7608ca887fb2 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 | 3 +++ .../it/rest/client/selfsigned/ExternalSelfSignedTestCase.java | 2 ++ .../quarkus/it/rest/client/trustall/ExternalTlsTrustAllIT.java | 3 +++ .../it/rest/client/trustall/ExternalTlsTrustAllTestCase.java | 2 ++ .../quarkus/it/rest/client/wronghost/ExternalWrongHostIT.java | 3 +++ .../it/rest/client/wronghost/ExternalWrongHostTestCase.java | 2 ++ 6 files changed, 15 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..ba51816bbc63a 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,11 @@ package io.quarkus.it.rest.client.selfsigned; +import org.junit.jupiter.api.Disabled; + import io.quarkus.test.junit.QuarkusIntegrationTest; @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..c991046746bd1 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,10 @@ package io.quarkus.it.rest.client.trustall; +import org.junit.jupiter.api.Disabled; + import io.quarkus.test.junit.QuarkusIntegrationTest; @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..e276128b99fc9 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,10 @@ package io.quarkus.it.rest.client.wronghost; +import org.junit.jupiter.api.Disabled; + import io.quarkus.test.junit.QuarkusIntegrationTest; @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