From: Tom Pantelis Date: Sat, 9 May 2015 03:36:50 +0000 (-0400) Subject: Change http port for NorthBoundIT tests X-Git-Tag: release/beryllium~601 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=feaf6ccc9fdd1451697d135ea4b54dd4629fc345 Change http port for NorthBoundIT tests The NorthBoundIT tests are failing on jenkins due to port http 8080 already in use. I don't know what else would be running on port 8080 on the build machines - maybe a remnant of another test that didn't cleanup or didn't finish cleaning up in the background. In any event, I changed the port to 8180 to hopefully avoid the issue so verify builds can succeed. Change-Id: Ia11ef1d69c8cd5948063ec6dbfc08fab2492319c Signed-off-by: Tom Pantelis (cherry picked from commit 0ffa3f90a7546c29165d13b9ff448a82f0af1317) --- diff --git a/opendaylight/adsal/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java b/opendaylight/adsal/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java index 1a39a21e1a..d2b354b82b 100644 --- a/opendaylight/adsal/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java +++ b/opendaylight/adsal/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java @@ -14,7 +14,6 @@ import static org.ops4j.pax.exam.CoreOptions.mavenBundle; import static org.ops4j.pax.exam.CoreOptions.options; import static org.ops4j.pax.exam.CoreOptions.systemPackages; import static org.ops4j.pax.exam.CoreOptions.systemProperty; - import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; @@ -23,7 +22,6 @@ import java.util.List; import java.util.Map; import java.util.Set; import javax.inject.Inject; - import org.apache.commons.codec.binary.Base64; import org.codehaus.jettison.json.JSONArray; import org.codehaus.jettison.json.JSONException; @@ -69,7 +67,7 @@ public class NorthboundIT { private IUserManager userManager = null; private IInventoryListener invtoryListener = null; private IListenTopoUpdates topoUpdates = null; - private static final String baseUrlPrefix = "http://127.0.0.1:8080/controller/nb/v2/"; + private static final String baseUrlPrefix = "http://127.0.0.1:8180/controller/nb/v2/"; private final Boolean debugMsg = false; private String stateToString(int state) { diff --git a/opendaylight/adsal/northbound/integrationtest/src/test/resources/tomcat-server.xml b/opendaylight/adsal/northbound/integrationtest/src/test/resources/tomcat-server.xml index 56d469b599..ee88f2330c 100644 --- a/opendaylight/adsal/northbound/integrationtest/src/test/resources/tomcat-server.xml +++ b/opendaylight/adsal/northbound/integrationtest/src/test/resources/tomcat-server.xml @@ -26,7 +26,7 @@ -