Change http port for NorthBoundIT tests 77/19977/2
authorTom Pantelis <tpanteli@brocade.com>
Sat, 9 May 2015 03:36:50 +0000 (23:36 -0400)
committerGerrit Code Review <gerrit@opendaylight.org>
Sat, 9 May 2015 23:26:44 +0000 (23:26 +0000)
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 <tpanteli@brocade.com>
opendaylight/adsal/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java
opendaylight/adsal/northbound/integrationtest/src/test/resources/tomcat-server.xml

index 1a39a21e1af876be37970f21f1c9074de710be1a..d2b354b82b4158f13c34f860a12e941a0d8f09b6 100644 (file)
@@ -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) {
index 56d469b59932f591b93cd91eb7e491ab3c683085..ee88f2330cfec9bc5827cf483edae70953b44c30 100644 (file)
@@ -26,7 +26,7 @@
   <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
 
   <Service name="Catalina">
-    <Connector port="8080" protocol="HTTP/1.1"
+    <Connector port="8180" protocol="HTTP/1.1"
                connectionTimeout="20000"
                redirectPort="8443" />