Use port 12345 instead of 8080 in UT 41/8741/1
authorDave Tucker <djt@redhat.com>
Mon, 7 Jul 2014 14:54:03 +0000 (15:54 +0100)
committerDave Tucker <djt@redhat.com>
Mon, 7 Jul 2014 14:54:03 +0000 (15:54 +0100)
Port 8080 is common. If something is using 8080, the UT will fail with a
cryptic error message. Adjust the UT to use poer 12345

Fix bug 1321

Change-Id: I0d5d69f89936e8c84b40d27d905051e9f293b6fc
Signed-off-by: Dave Tucker <djt@redhat.com>
library/src/test/java/org/opendaylight/ovsdb/lib/jsonrpc/TestClient.java

index 5647a26cb3d2413d8d2c39b9a2d987662483c21e..f72bae16a85dc5e15f495c04e673c566f8d4bdd4 100644 (file)
@@ -21,7 +21,7 @@ import java.net.Socket;
 public class TestClient extends TestCase {
 
         String serverurl = "127.0.0.1";
-        int serverport = 8080;
+        int serverport = 12345;
 
         NettyBootStrapper bootstrapper = new NettyBootStrapper();
         JsonRpcDecoder jsonRpcDecoder = new JsonRpcDecoder(100000);