mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-22 20:03:56 +00:00
Problem: test_reqrep_tcp does not test disconnect/unbind
Solution: add disconnect and unbind calls to the test
This commit is contained in:
parent
7bc7395a2a
commit
9c35093782
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user