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:
parent
23d08c2024
commit
e3016b66bd
@ -47,7 +47,7 @@ void test_system_max ()
|
|||||||
break;
|
break;
|
||||||
sockets.push_back (socket);
|
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
|
// System is out of resources, further calls to zmq_socket should return NULL
|
||||||
for (unsigned int i = 0; i < 10; ++i) {
|
for (unsigned int i = 0; i < 10; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user