mirror of https://github.com/fail2ban/fail2ban
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 #103pull/115/merge
parent
3b4084d471
commit
007827fac6
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue