[New-bugs-announce] [issue8460] Set a timeout in test_urllib2net

STINNER Victor report at bugs.python.org
Mon Apr 19 14:42:26 CEST 2010

New submission from STINNER Victor <victor.stinner at haypocalc.com>:

If an URL doesn't answer, the whole test hung. Many buildbots turned red because an URL (maybe ftp://ftp.kernel.org/pub/linux/kernel/README) didn't answer during few minutes (it works again).

We should add a timeout, eg. 5 minutes. I don't know what to do on timeout: ignore the test? skip the test? Ignore should be fine.

components: Library (Lib), Tests
messages: 103590
nosy: haypo
severity: normal
status: open
title: Set a timeout in test_urllib2net
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list