Add system property for test constants location

(cherry picked from commit f9afa13)
This commit is contained in:
Vaclav Muzikar committed 2016-03-22 12:17:13 +01:00
1 parent 705a598ce6
commit 18b07190bf
2 files changed
+4 -1

No files matched your search

@@ -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);
}
@@ -68,6 +68,8 @@
<backends.console.output>true</backends.console.output>
<auth.server.java.home>${java.home}</auth.server.java.home>
<testsuite.constants>test-constants.properties</testsuite.constants>
</properties>
@@ -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>