Commit 5e2da025 authored by Simon Giesecke's avatar Simon Giesecke

Problem: test case is leaking test socket

Solution: close test socket
parent 54240dcc
......@@ -49,6 +49,8 @@ void test_monitor_invalid_protocol_fails ()
// Socket monitoring only works over inproc://
TEST_ASSERT_FAILURE_ERRNO (
EPROTONOSUPPORT, zmq_socket_monitor (client, "tcp://127.0.0.1:*", 0));
test_context_socket_close_zero_linger (client);
}
void test_monitor_basic ()
......
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