[Python-bugs-list] [ python-Bugs-692988 ] test_timeout.py needs 'network' resource
SourceForge.net
noreply@sourceforge.net
Tue, 25 Feb 2003 19:06:12 -0800
Bugs item #692988, was opened at 2003-02-25 11:01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=692988&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Cesar Eduardo Barros (cesarb)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_timeout.py needs 'network' resource
Initial Comment:
test_timeout.py fails in two tests if the network is
down. This is because it tries to connect to
www.google.com:80. It should be skipped unless the
'network' resource is enabled.
Also, the failure mode of the testConnectTimeout is
weird; it took 10 seconds for it to timeout. Maybe
that's a real bug somewhere.
The version I used is test_timeout.py revision 1.11
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-25 22:06
Message:
Logged In: YES
user_id=33168
Whoops, sorry my last comment was meant for bug #692951.
This report helps clarify the other bug.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-25 22:03
Message:
Logged In: YES
user_id=33168
The first problem seems to be a DNS lookup failure
(www.google.com). What Linux distro and version are you
using? Did you enable ipv6? Anything else that could help
debug this problem? Many developers run on Linux and I
haven't heard of this problem? Is your network very slow?
Do you have a firewall which introduces large latencies?
----------------------------------------------------------------------
Comment By: Cesar Eduardo Barros (cesarb)
Date: 2003-02-25 11:08
Message:
Logged In: YES
user_id=57799
Weird, the attachment didn't work. Trying again to attach
the file.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=692988&group_id=5470