Commit e78cc47b authored by Pieter Hintjens's avatar Pieter Hintjens Committed by Martin Sustrik

Moved tests off 5555 (conflict with Eclipse)

Signed-off-by: 's avatarPieter Hintjens <ph@imatix.com>
parent eb9bc1b0
......@@ -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);
......
......@@ -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);
......
......@@ -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++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment