summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Hintjens <ph@imatix.com>2011-05-02 18:59:55 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-05-02 18:59:55 +0200
commite78cc47b184f82fd524da021745b3323df4af507 (patch)
treece4948d6b0c749f5922c638d7f257e8564c8e7a7
parenteb9bc1b0648d2132e612e2237a0ace47004d6f5c (diff)
Moved tests off 5555 (conflict with Eclipse)
Signed-off-by: Pieter Hintjens <ph@imatix.com>
-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++) {