diff --git a/tests/test_reqrep_tcp.cpp b/tests/test_reqrep_tcp.cpp index dc2294bb..2b229235 100644 --- a/tests/test_reqrep_tcp.cpp +++ b/tests/test_reqrep_tcp.cpp @@ -46,6 +46,12 @@ void test_single_connect_ipv4 (void) bounce (sb, sc); + rc = zmq_disconnect (sc, "tcp://127.0.0.1:5560"); + assert (rc == 0); + + rc = zmq_unbind (sb, "tcp://127.0.0.1:5560"); + assert (rc == 0); + rc = zmq_close (sc); assert (rc == 0);