Skip to content

Commit

Permalink
Disable Rest client tests that use external (now expired) certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Apr 1, 2022
1 parent 9aa0739 commit ba23191
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 {

}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
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;
import io.quarkus.test.junit.QuarkusTest;

@QuarkusTest
@QuarkusTestResource(ExternalTlsTrustAllTestResource.class)
@Disabled("certificate expired")
public class ExternalTlsTrustAllTestCase {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
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;
import io.quarkus.test.junit.QuarkusTest;

@QuarkusTest
@QuarkusTestResource(ExternalWrongHostTestResource.class)
@Disabled("certificate expired")
public class ExternalWrongHostTestCase {

@Test
Expand Down

0 comments on commit ba23191

Please sign in to comment.