From e78cc47b184f82fd524da021745b3323df4af507 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Mon, 2 May 2011 18:59:55 +0200 Subject: Moved tests off 5555 (conflict with Eclipse) Signed-off-by: Pieter Hintjens --- tests/test_pair_tcp.cpp | 4 ++-- tests/test_reqrep_tcp.cpp | 4 ++-- tests/test_shutdown_stress.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/test_pair_tcp.cpp b/tests/test_pair_tcp.cpp index 453daca..8ecfef5 100644 --- a/tests/test_pair_tcp.cpp +++ b/tests/test_pair_tcp.cpp @@ -28,12 +28,12 @@ int main (int argc, char *argv []) void *sb = zmq_socket (ctx, ZMQ_PAIR); assert (sb); - int rc = zmq_bind (sb, "tcp://127.0.0.1:5555"); + int rc = zmq_bind (sb, "tcp://127.0.0.1:5560"); assert (rc == 0); void *sc = zmq_socket (ctx, ZMQ_PAIR); assert (sc); - rc = zmq_connect (sc, "tcp://127.0.0.1:5555"); + rc = zmq_connect (sc, "tcp://127.0.0.1:5560"); assert (rc == 0); bounce (sb, sc); diff --git a/tests/test_reqrep_tcp.cpp b/tests/test_reqrep_tcp.cpp index 9e00975..c713e26 100644 --- a/tests/test_reqrep_tcp.cpp +++ b/tests/test_reqrep_tcp.cpp @@ -28,12 +28,12 @@ int main (int argc, char *argv []) void *sb = zmq_socket (ctx, ZMQ_REP); assert (sb); - int rc = zmq_bind (sb, "tcp://127.0.0.1:5555"); + int rc = zmq_bind (sb, "tcp://127.0.0.1:5560"); assert (rc == 0); void *sc = zmq_socket (ctx, ZMQ_REQ); assert (sc); - rc = zmq_connect (sc, "tcp://127.0.0.1:5555"); + rc = zmq_connect (sc, "tcp://127.0.0.1:5560"); assert (rc == 0); bounce (sb, sc); diff --git a/tests/test_shutdown_stress.cpp b/tests/test_shutdown_stress.cpp index e63abe7..dccf91f 100644 --- a/tests/test_shutdown_stress.cpp +++ b/tests/test_shutdown_stress.cpp @@ -31,7 +31,7 @@ extern "C" { int rc; - rc = zmq_connect (s, "tcp://127.0.0.1:5555"); + rc = zmq_connect (s, "tcp://127.0.0.1:5560"); assert (rc == 0); // Start closing the socket while the connecting process is underway. @@ -61,7 +61,7 @@ int main (int argc, char *argv []) s1 = zmq_socket (ctx, ZMQ_REP); assert (s1); - rc = zmq_bind (s1, "tcp://127.0.0.1:5555"); + rc = zmq_bind (s1, "tcp://127.0.0.1:5560"); assert (rc == 0); for (i = 0; i != THREAD_COUNT; i++) { -- cgit v1.2.3