mirror of
https://github.com/sprockets/sprockets.http.git
synced 2024-11-14 19:29:28 +00:00
Avoid RecursionError in test
A sleep value of 0.05 resulted in a RecursionError in some environments.
This commit is contained in:
parent
7f2956413c
commit
4181abc542
1 changed files with 1 additions and 1 deletions
2
tests.py
2
tests.py
|
@ -449,7 +449,7 @@ class RunnerTests(MockHelper, unittest.TestCase):
|
|||
|
||||
def test_that_shutdown_stops_after_timelimit(self):
|
||||
def add_timeout(_, callback):
|
||||
time.sleep(0.05)
|
||||
time.sleep(0.1)
|
||||
callback()
|
||||
self.io_loop.add_timeout = mock.Mock(side_effect=add_timeout)
|
||||
|
||||
|
|
Loading…
Reference in a new issue