diff options
| author | Michał Górny <mgorny@gentoo.org> | 2020-05-29 09:17:21 +0200 |
|---|---|---|
| committer | Jakub Stasiak <jakub@stasiak.at> | 2020-07-01 23:04:14 +0200 |
| commit | d08422de57ea06d394d849a503c38f2e4e18e50f (patch) | |
| tree | a1dcad5ee18bb87b4dfe6996a10953170546ab8b | |
| parent | 681d7a4456c6b789691d93011a7b52fb668a9b44 (diff) | |
| download | eventlet-d08422de57ea06d394d849a503c38f2e4e18e50f.tar.gz | |
tests: Increase timeout for test_isolate_from_socket_default_timeout
Increase the timeout used for test_isolate_from_socket_default_timeout
from 1 second to 5 seconds. Otherwise, the test can't succeed
on hardware where Python runs slower. In particular, on our SPARC box
importing greenlet modules takes almost 2 seconds, so the test program
does not even start properly.
Fixes #614
| -rw-r--r-- | tests/tpool_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tpool_test.py b/tests/tpool_test.py index 4826f30..1a730dc 100644 --- a/tests/tpool_test.py +++ b/tests/tpool_test.py @@ -366,7 +366,7 @@ class TpoolLongTests(tests.LimitedTestCase): def test_isolate_from_socket_default_timeout(): - tests.run_isolated('tpool_isolate_socket_default_timeout.py', timeout=1) + tests.run_isolated('tpool_isolate_socket_default_timeout.py', timeout=5) def test_exception_leak(): |
