changeset 1189:7f70d5ddbde9

GlobalConfigMain - configuration context rootDir changed
author Devel 2
date Thu, 18 Jun 2020 11:00:51 +0200
parents 223dbbdd7e40
children 03ca923231c5
files stress-tester/src/main/java/com/passus/st/GlobalConfigMain.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/GlobalConfigMain.java	Wed Jun 17 15:26:33 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/GlobalConfigMain.java	Thu Jun 18 11:00:51 2020 +0200
@@ -65,7 +65,7 @@
             Configuration config = YamlConfigurationReader.readFromFile(configFile);
 
 
-            ConfigurationContext context = ConfigurationContext.create();
+            ConfigurationContext context = ConfigurationContext.create(configFile.getParentFile());
             JobConfigurator jobConfigurator = new JobConfigurator();
             jobConfigurator.configure(config, errors, context);
             if (errors.hasError()) {