From e3016b66bd040d6c44d6ff794fb9e2a6cfc949e8 Mon Sep 17 00:00:00 2001 From: Satyajit Padalkar Date: Thu, 7 Apr 2016 23:41:09 -0400 Subject: [PATCH] Fix tests/test_many_sockets.cpp --- tests/test_many_sockets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_many_sockets.cpp b/tests/test_many_sockets.cpp index 5831fa31..2fa3be9b 100644 --- a/tests/test_many_sockets.cpp +++ b/tests/test_many_sockets.cpp @@ -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) {