Skip to content

Commit

Permalink
tests: Increase timeout for test_isolate_from_socket_default_timeout
Browse files Browse the repository at this point in the history
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 eventlet#614
  • Loading branch information
mgorny committed May 29, 2020
1 parent b742b44 commit d324431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tpool_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def test_leakage_from_tracebacks(self):


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():
Expand Down

0 comments on commit d324431

Please sign in to comment.