Permalink
Browse files

Investigating timeouts

  • Loading branch information...
1 parent 4d9ced4 commit fbb29ec3331412eeac22cb6032eb95c52b99069a @spiliopoulos spiliopoulos committed Jul 24, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 tests/test_worker.py
View
@@ -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
@@ -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)

0 comments on commit fbb29ec

Please sign in to comment.