Commit eeccbbd6 authored by sigiesec's avatar sigiesec

Problem: test case fails with tcp transport

Solution: use inproc transport instead
parent fc334bc7
......@@ -62,13 +62,8 @@ void test_get_peer_state ()
rc = zmq_setsockopt (router, ZMQ_ROUTER_MANDATORY, &mandatory,
sizeof (mandatory));
rc = zmq_bind (router, "tcp://127.0.0.1:*");
assert (rc == 0);
size_t my_endpoint_len = MAX_SOCKET_STRING;
char my_endpoint[MAX_SOCKET_STRING];
rc =
zmq_getsockopt (router, ZMQ_LAST_ENDPOINT, my_endpoint, &my_endpoint_len);
const char *my_endpoint = "inproc://test_get_peer_state";
rc = zmq_bind (router, my_endpoint);
assert (rc == 0);
void *dealer1 = zmq_socket (ctx, ZMQ_DEALER);
......
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