Commit e3016b66 authored by Satyajit Padalkar's avatar Satyajit Padalkar

Fix tests/test_many_sockets.cpp

parent 23d08c20
......@@ -47,7 +47,7 @@ void test_system_max ()
break;
sockets.push_back (socket);
}
assert ((int) sockets.size () < no_of_sockets);
assert ((int) sockets.size () <= no_of_sockets);
// System is out of resources, further calls to zmq_socket should return NULL
for (unsigned int i = 0; i < 10; ++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