summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_pair_tcp.cpp4
-rw-r--r--tests/test_reqrep_tcp.cpp4
-rw-r--r--tests/test_shutdown_stress.cpp4
3 files changed, 6 insertions, 6 deletions
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++) {