Skip to content

Commit e3016b6

Browse files
author
Satyajit Padalkar
committed
Fix tests/test_many_sockets.cpp
1 parent 23d08c2 commit e3016b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_many_sockets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void test_system_max ()
4747
break;
4848
sockets.push_back (socket);
4949
}
50-
assert ((int) sockets.size () < no_of_sockets);
50+
assert ((int) sockets.size () <= no_of_sockets);
5151

5252
// System is out of resources, further calls to zmq_socket should return NULL
5353
for (unsigned int i = 0; i < 10; ++i) {

0 commit comments

Comments
 (0)