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)