cpython: Issue #22333: Extend timeout in test_threaded_import

https://hg.python.org/cpython/rev/926c380aa423 changeset: 92697:926c380aa423 user: Victor Stinner <victor.stinner@gmail.com> date: Wed Oct 01 01:45:16 2014 +0200 summary: Issue #22333: Extend timeout in test_threaded_import Check if the sporadic failure is related to a timeout. The test just failed on the buildbot "x86 Windows7 3.x": 1 thread done / 20 (the 'done' condition was not signaled because 1 < 20). files: Lib/test/test_threaded_import.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Lib/test/test_threaded_import.py b/Lib/test/test_threaded_import.py --- a/Lib/test/test_threaded_import.py +++ b/Lib/test/test_threaded_import.py @@ -118,7 +118,7 @@ t = threading.Thread(target=task, args=(N, done, done_tasks, errors,)) t.start() - completed = done.wait(60) + completed = done.wait(10 * 60) dbg_info = 'done: %s/%s' % (len(done_tasks), N) self.assertFalse(errors, dbg_info) self.assertTrue(completed, dbg_info) -- Repository URL: https://hg.python.org/cpython
participants (1)
-
victor.stinner