Skip to content

Commit 396ce08

Browse files
authored
Decrease timeout for fricas subprocess command
Reduce timeout for subprocess call to fricas from 30 to 1 second.
1 parent 5fb0b8e commit 396ce08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/features/fricas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def is_functional(self):
7373
command = ['fricas', '-nosman']
7474
try:
7575
lines = subprocess.check_output(command, input=b')quit\n',
76-
stderr=subprocess.STDOUT, timeout=30)
76+
stderr=subprocess.STDOUT, timeout=1)
7777
except subprocess.TimeoutExpired:
7878
return FeatureTestResult(self, False,
7979
reason="Call `{command}` timed out".format(command=" ".join(command)))

0 commit comments

Comments
 (0)