diff options
Diffstat (limited to 'test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/config/Config.java')
-rw-r--r-- | test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/config/Config.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/config/Config.java b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/config/Config.java index d11d0489bf..82fdde4b84 100644 --- a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/config/Config.java +++ b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/config/Config.java @@ -178,13 +178,7 @@ public class Config { String configFile = System.getProperty("config.resource"); if (configFile == null) { - if (System.getProperty("os.name").contains("Windows")) { - configFile = WINDOWS_CONFIG_FILE; - } else if (System.getProperty("os.name").contains("Mac")) { - configFile = WINDOWS_CONFIG_FILE; - } else { - throw new RuntimeException("Please Add Jvm Argument config.resource"); - } + configFile = WINDOWS_CONFIG_FILE; } File file = new File(configFile); |