test_acceptOutOfFiles mishandles particularly low-fd-availability conditions poorly

[email protected] Thu, 14 Jan 2010 22:16:52 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from exarkun <[email protected]>:

`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.


----------
Type     : defect
Component: core
Keywords : tests
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/4221