Merge pull request #2407 from vmuzikar/KEYCLOAK-2694
[KEYCLOAK-2694] Add system property for test constants location
This commit is contained in:
commit
0ef36096fb
2 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -69,6 +69,8 @@
|
|||
|
||||
<auth.server.java.home>${java.home}</auth.server.java.home>
|
||||
|
||||
<testsuite.constants>test-constants.properties</testsuite.constants>
|
||||
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
|
@ -127,6 +129,7 @@
|
|||
<jboss.server.config.dir>${jboss.server.config.dir}</jboss.server.config.dir>
|
||||
<frontend.console.output>${frontend.console.output}</frontend.console.output>
|
||||
<backends.console.output>${backend.console.output}</backends.console.output>
|
||||
<testsuite.constants>${testsuite.constants}</testsuite.constants>
|
||||
</systemPropertyVariables>
|
||||
<properties>
|
||||
<property>
|
||||
|
|
Loading…
Reference in a new issue