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

Commit c3b0124

Browse files
committed
Trac #32973: increase the default test timeout to ten minutes.
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.
1 parent cc60cfe commit c3b0124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/doctest/control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def __init__(self, options, args):
362362
elif options.long:
363363
options.timeout = int(os.getenv('SAGE_TIMEOUT_LONG', 30 * 60))
364364
else:
365-
options.timeout = int(os.getenv('SAGE_TIMEOUT', 5 * 60))
365+
options.timeout = int(os.getenv('SAGE_TIMEOUT', 10 * 60))
366366
# For non-default GC options, double the timeout
367367
if options.gc:
368368
options.timeout *= 2

0 commit comments

Comments
 (0)