[Python-Dev] test_socket failures

Michael Gilfix mgilfix@eecs.tufts.edu
Sun, 16 Jun 2002 13:24:45 -0400


  Ok. I just submitted a patch to SF: http://www.python.org/sf/569697
that fixes the race conditions in test_socket.py (and also documents
ThreadedTest). I've done a make test and it seem to pass through the
regression test. So please test this out on windows for me Guido.

                            -- Mike

On Wed, Jun 12 @ 16:59, Guido van Rossum wrote:
> I know that there are problem with the two new socket tests:
> test_timeout and test_socket.  The problems are varied: the tests
> assume network access and a working and consistent DNS, they assume
> predictable timing, and there is a number of Windows-specific failures
> that I'm trying to track down.  Also, when the full test suite is run,
> test_socket.py may hang, while in isolation it will work.  (Gosh if
> only we had had these unit tests a few years ago.  They bring up all
> sorts of issues that are good to know about.)
> 
> I'll try to fix these ASAP.

-- 
Michael Gilfix
mgilfix@eecs.tufts.edu

For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html