Add system property for test constants location
(cherry picked from commit f9afa13)
This commit is contained in:
parent
705a598ce6
commit
18b07190bf
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