[Python-checkins] python/dist/src/Lib/test test_timeout.py,1.10,1.11
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Fri, 21 Feb 2003 08:45:43 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv2114/python/Lib/test
Modified Files:
test_timeout.py
Log Message:
Doubled TimeoutTestCase.fuzz, to slash the frequency of bogus failures
on the boxes I use.
Index: test_timeout.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_timeout.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_timeout.py 17 Feb 2003 14:51:41 -0000 1.10
--- test_timeout.py 21 Feb 2003 16:45:41 -0000 1.11
***************
*** 88,92 ****
"""Test case for socket.socket() timeout functions"""
! fuzz = 1.0
def setUp(self):
--- 88,98 ----
"""Test case for socket.socket() timeout functions"""
! # There are a number of tests here trying to make sure that an operation
! # doesn't take too much longer than expected. But competing machine
! # activity makes it inevitable that such tests will fail at times.
! # When fuzz was at 1.0, I (tim) routinely saw bogus failures on Win2K
! # and Win98SE. Boosting it to 2.0 helped a lot, but isn't a real
! # solution.
! fuzz = 2.0
def setUp(self):