[issue26757] test_urllib2net.test_http_basic() timeout after 15 min on

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: Buildbot failure not seen last months, so I just close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker _

[issue26757] test_urllib2net.test_http_basic() timeout after 15 min on

2016-04-14 Thread Martin Panter
Martin Panter added the comment: By “mock the query”, do you mean swap out the socket for a pretend socket object? Another option would be to connect to a server on localhost running on the background, like I did for the fileno() problem. Looks like this test_http_basic() was intended to verif

[issue26757] test_urllib2net.test_http_basic() timeout after 15 min on

2016-04-14 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +florin.papa, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue26757] test_urllib2net.test_http_basic() timeout after 15 min on

2016-04-14 Thread STINNER Victor
STINNER Victor added the comment: It looks deliberate to test the HTTP query with *no* timeout. Sadly, it looks like it's ok that an HTTP query takes longer than 15 minutes! Can't we mock the query to only test that the socket timeout is None? Move the test from test_urllib2net to test_urllib2

[issue26757] test_urllib2net.test_http_basic() timeout after 15 min on

2016-04-14 Thread STINNER Victor
STINNER Victor added the comment: See also issue #21069 "test_fileno of test_urllibnet intermittently fails". -- ___ Python tracker ___ __

[issue26757] test_urllib2net.test_http_basic() timeout after 15 min on

2016-04-14 Thread STINNER Victor
New submission from STINNER Victor: Timeout seen on "x86-64 Ubuntu 15.10 Skylake CPU 3.5" buildbot: http://buildbot.python.org/all/builders/x86-64%20Ubuntu%2015.10%20Skylake%20CPU%203.5/builds/357/steps/test/logs/stdio [215/398] test_urllib2net Timeout (0:15:00)! Thread 0x7f71354be700 (most