diff options
author | JulienBe <julien.bertozzi@intl.att.com> | 2020-08-19 11:12:59 +0200 |
---|---|---|
committer | Sébastien Determe <sebastien.determe@intl.att.com> | 2020-08-22 20:22:02 +0000 |
commit | b16794663103fe5716af7627e1d420bf4bbd1aa2 (patch) | |
tree | 9d2050a6096a708f87e4e31b2eac399b965b9e5b /test-apis-ci/src/main/java/org | |
parent | 056998c45c0f1e320a0adb1cb23318b6435ac11a (diff) |
Add sdc startup in IT
Move the Api tests code in the integration-test module, and remove the need to have a container
Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Diffstat (limited to 'test-apis-ci/src/main/java/org')
-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); |