ENH: increase timeout to 20 sec from 10 sec in assert_correct_last_attempt

This is done with a hope to resolve randomly failing tests on travis-ci
and thus fixing the #103
This commit is contained in:
Yaroslav Halchenko 2013-03-25 11:03:55 -04:00
parent 3b4084d471
commit 007827fac6

View file

@ -379,7 +379,7 @@ def get_monitor_failures_testcase(Filter_):
return not self.isFilled(delay)
def assert_correct_last_attempt(self, failures, count=None):
self.assertTrue(self.isFilled(10)) # give Filter a chance to react
self.assertTrue(self.isFilled(20)) # give Filter a chance to react
_assert_correct_last_attempt(self, self.jail, failures, count=count)