test: more test coverage for maxConnections
authorRich Trott <rtrott@gmail.com>
Sat, 30 May 2015 14:49:56 +0000 (07:49 -0700)
committerBrendan Ashworth <brendan.ashworth@me.com>
Wed, 3 Jun 2015 04:01:21 +0000 (21:01 -0700)
commitbd99e8de8e41b4e86591f4fd50fa2e8cae42bb3c
tree3b3930d9e190e3491d062ea835e2ef6bd4787997
parent8c71a9241d3ff7eb29b3ee7b32bc7d7c2cd7ea3c
test: more test coverage for maxConnections

If the server is not accepting connections because maxConnections
is exceeded, the server should start accepting connections again
when a connection closes.

PR-URL: https://github.com/nodejs/io.js/pull/1855
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
test/parallel/test-net-server-max-connections-close-makes-more-available.js [new file with mode: 0644]
test/parallel/test-net-server-max-connections.js