0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Fix tests/test_many_sockets.cpp

This commit is contained in:
Satyajit Padalkar 2016-04-07 23:41:09 -04:00
parent 23d08c2024
commit e3016b66bd

View File

@ -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) {