Issue #25277: Set a timeout of 10 minutes in test_eintr using faulthandler to

try to debug a hang on the FreeBSD 9 buildbot.

Run also eintr_tester.py with python "-u" command line option to try to get the
full output on hang/crash.
This commit is contained in:
Victor Stinner 2015-10-01 13:16:43 +02:00
parent 2c6ea295ba
commit 98f223dfa0
2 changed files with 7 additions and 1 deletions

View file

@ -16,7 +16,8 @@ class EINTRTests(unittest.TestCase):
# Run the tester in a sub-process, to make sure there is only one
# thread (for reliable signal delivery).
tester = support.findfile("eintr_tester.py", subdir="eintrdata")
script_helper.assert_python_ok(tester)
# use -u to try to get the full output if the test hangs or crash
script_helper.assert_python_ok("-u", tester)
if __name__ == "__main__":