From 50e4b50fac364d92c0393697b2def56fc5f38019 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Tue, 26 Apr 2022 21:30:25 +0200 Subject: [PATCH] Only run security-webauthn ITs if test-containers is enabled Also remove useless config property (we are not using JDBC here). --- integration-tests/security-webauthn/pom.xml | 112 +++++++++++------- .../src/main/resources/application.properties | 4 +- 2 files changed, 68 insertions(+), 48 deletions(-) diff --git a/integration-tests/security-webauthn/pom.xml b/integration-tests/security-webauthn/pom.xml index 3cffbab059d36..c63a3547b9909 100644 --- a/integration-tests/security-webauthn/pom.xml +++ b/integration-tests/security-webauthn/pom.xml @@ -1,7 +1,5 @@ - + quarkus-integration-tests-parent io.quarkus @@ -14,40 +12,40 @@ The security-webauthn integration tests module - - io.quarkus - quarkus-resteasy-reactive - - - io.quarkus - quarkus-security-webauthn - - - io.quarkus - quarkus-test-security-webauthn - - - io.quarkus - quarkus-reactive-pg-client - - - io.quarkus - quarkus-hibernate-reactive-panache - - - io.quarkus - quarkus-arc - - - io.quarkus - quarkus-junit5 - test - - - io.rest-assured - rest-assured - test - + + io.quarkus + quarkus-resteasy-reactive + + + io.quarkus + quarkus-security-webauthn + + + io.quarkus + quarkus-test-security-webauthn + + + io.quarkus + quarkus-reactive-pg-client + + + io.quarkus + quarkus-hibernate-reactive-panache + + + io.quarkus + quarkus-arc + + + io.quarkus + quarkus-junit5 + test + + + io.rest-assured + rest-assured + test + io.quarkus @@ -114,7 +112,6 @@ - @@ -125,6 +122,18 @@ + + maven-surefire-plugin + + true + + + + maven-failsafe-plugin + + true + + io.quarkus quarkus-maven-plugin @@ -141,18 +150,29 @@ - no-native + test-webauthn - !native + test-containers - - - uber-jar - + + + + maven-surefire-plugin + + false + + + + maven-failsafe-plugin + + false + + + + - + \ No newline at end of file diff --git a/integration-tests/security-webauthn/src/main/resources/application.properties b/integration-tests/security-webauthn/src/main/resources/application.properties index 9c0d74125adfb..06af79d80af21 100644 --- a/integration-tests/security-webauthn/src/main/resources/application.properties +++ b/integration-tests/security-webauthn/src/main/resources/application.properties @@ -1,8 +1,8 @@ %prod.quarkus.datasource.db-kind=postgresql %prod.quarkus.datasource.username=quarkus %prod.quarkus.datasource.password=quarkus -%prod.quarkus.datasource.jdbc.url=jdbc:postgresql:elytron_security_webauthn +#%prod.quarkus.datasource.jdbc.url=jdbc:postgresql:elytron_security_webauthn quarkus.hibernate-orm.database.generation=drop-and-create -quarkus.webauthn.login-page=/ \ No newline at end of file +quarkus.webauthn.login-page=/