diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractKeycloakTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractKeycloakTest.java index a15cdb6687..034bd333ea 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractKeycloakTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractKeycloakTest.java @@ -276,7 +276,7 @@ public abstract class AbstractKeycloakTest { } private void loadConstantsProperties() throws ConfigurationException { - constantsProperties = new PropertiesConfiguration("test-constants.properties"); + constantsProperties = new PropertiesConfiguration(System.getProperty("testsuite.constants")); constantsProperties.setThrowExceptionOnMissing(true); } diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index 0527852f08..f77d369472 100644 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -68,6 +68,8 @@ true ${java.home} + + test-constants.properties @@ -127,6 +129,7 @@ ${jboss.server.config.dir} ${frontend.console.output} ${backend.console.output} + ${testsuite.constants}