mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
2c6ea295ba
commit
98f223dfa0
2 changed files with 7 additions and 1 deletions
|
@ -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__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue