Ticket #4221 defect closed fixed
test_acceptOutOfFiles mishandles particularly low-fd-availability conditions poorly
|Reported by:||exarkun||Owned by:|
(diff, github, buildbot, log)
test_acceptOutOfFiles accidentally closes the port it's going to call accept on if the very first non-port socket it tries to create cannot be created because available file descriptors have already been exhausted. This results in a weird failure later on. We probably can't easily make the test pass in such a low-fd-availability case, but we can make it fail less confusingly.