Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #32973: increase the default test timeout to ten minutes.
Browse files Browse the repository at this point in the history
This is intended to prevent timeouts on older machines where we now
have files like sage/manifolds/differentiable/tensorfield.py that take
over six minutes to test with a single thread. Since the timeout is a
failsafe to prevent infinite loops in the test suite, increasing it
should do no harm on newer machines. The worst thing that can happen
in the event of an infinite loop is that everyone will churn for a few
extra minutes before the process is killed.
  • Loading branch information
orlitzky committed Dec 6, 2021
1 parent cc60cfe commit c3b0124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/doctest/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def __init__(self, options, args):
elif options.long:
options.timeout = int(os.getenv('SAGE_TIMEOUT_LONG', 30 * 60))
else:
options.timeout = int(os.getenv('SAGE_TIMEOUT', 5 * 60))
options.timeout = int(os.getenv('SAGE_TIMEOUT', 10 * 60))
# For non-default GC options, double the timeout
if options.gc:
options.timeout *= 2
Expand Down

0 comments on commit c3b0124

Please sign in to comment.