Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65426e7

Browse files
committed
Increase test timeouts to 60 s to aid slower architectures
Increase the test timeouts from 10 s to 60 s. The Gentoo arch teams have reported that the default timeout of 10 s is insufficient for slower architectures (such as HPPA) and/or busy test systems.
1 parent 495a985 commit 65426e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/matplotlib/tests/test_backend_qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def _get_testable_qt_backends():
456456
envs.append(pytest.param(env, marks=marks, id=str(env)))
457457
return envs
458458

459-
_test_timeout = 10 # Empirically, 1s is not enough on CI.
459+
_test_timeout = 60 # A reasonably safe value for slower architectures.
460460

461461

462462
@pytest.mark.parametrize("env", _get_testable_qt_backends())

lib/matplotlib/tests/test_backend_tk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import pytest
99

10-
_test_timeout = 10 # Empirically, 1s is not enough on CI.
10+
_test_timeout = 60 # A reasonably safe value for slower architectures.
1111

1212

1313
def _isolated_tk_test(success_count, func=None):

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _get_testable_interactive_backends():
5555
return envs
5656

5757

58-
_test_timeout = 10 # Empirically, 1s is not enough on CI.
58+
_test_timeout = 60 # A reasonably safe value for slower architectures.
5959

6060

6161
# The source of this function gets extracted and run in another process, so it

0 commit comments

Comments
 (0)