[issue36631] test_urllib2net: test_ftp_no_timeout() killed after a timeout of 15 min

STINNER Victor report at bugs.python.org
Tue Apr 16 11:33:32 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

> It seems like test_urllib2net.test_ftp_no_timeout() has no timeout: it should use a timeout to not block the whole test suite if the FTP server is down.

Well. I didn't read the name of the test... I'm not sure that it makes any sense to add a timeout to test called "no_timeout"...

On Linux, there is TCP_USER_TIMEOUT socket option. Maybe we could use that?

Or maybe I will just close the issue since it's likely that it's not going to come back soon...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36631>
_______________________________________


More information about the Python-bugs-list mailing list