From b16794663103fe5716af7627e1d420bf4bbd1aa2 Mon Sep 17 00:00:00 2001 From: JulienBe Date: Wed, 19 Aug 2020 11:12:59 +0200 Subject: 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 Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab Signed-off-by: JulienBe --- .../src/main/java/org/openecomp/sdc/ci/tests/config/Config.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test-apis-ci/src') 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); -- cgit 1.2.3-korg