[issue16463] testConnectTimeout of test_timeout TCPTimeoutTestCasefailures fails intermittently
Charles-François Natali
report at bugs.python.org
Sat Aug 3 12:44:31 CEST 2013
Charles-François Natali added the comment:
The problem is that the test passes a DNS address to connect(), which means that it has to perform a name resolution first.
And since there's not timeout on gethostbyname()/getaddrinfo() you can end up well above the timeout.
The hostnames should be resolved beforehand.
----------
nosy: +neologix
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16463>
_______________________________________
More information about the Python-bugs-list
mailing list