From fbb29ec3331412eeac22cb6032eb95c52b99069a Mon Sep 17 00:00:00 2001 From: Yannis Spiliopoulos Date: Sun, 24 Jul 2016 09:58:44 -0400 Subject: [PATCH] Investigating timeouts --- .travis.yml | 2 +- tests/test_worker.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d6c6e93..c804c42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,6 @@ install: - pip install coveralls #- pip install pytest # installed by Travis by default already script: - - RUN_SLOW_TESTS_TOO=1 py.test --cov rq --durations=10 + - RUN_SLOW_TESTS_TOO=1 py.test --cov rq --durations=5 after_success: - coveralls diff --git a/tests/test_worker.py b/tests/test_worker.py index d44990b..d0db63b 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -587,7 +587,7 @@ class TimeoutTestCase: def setUp(self): # we want tests to fail if signal are ignored and the work remain # running, so set a signal to kill them after X seconds - self.killtimeout = 10 + self.killtimeout = 20 signal.signal(signal.SIGALRM, self._timeout) signal.alarm(self.killtimeout)