mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
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:
parent
3b4084d471
commit
007827fac6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue