mirror of https://github.com/fail2ban/fail2ban
ENH: increase waiting to 4 sec for gamin/pyinotify
This will be the last gesture from me for the bloody tests: https://travis-ci.org/kwirk/fail2ban/jobs/5904668pull/163/merge
parent
ffbbb9f8a3
commit
e7184e70f6
|
@ -458,7 +458,7 @@ def get_monitor_failures_testcase(Filter_):
|
|||
self.file = _copy_lines_between_files(GetFailures.FILENAME_01, self.name,
|
||||
n=14, mode='w')
|
||||
# Poll might need more time
|
||||
self.assertTrue(self.isEmpty(2 + int(isinstance(self.filter, FilterPoll))*4))
|
||||
self.assertTrue(self.isEmpty(4 + int(isinstance(self.filter, FilterPoll))*2))
|
||||
self.assertRaises(FailManagerEmpty, self.filter.failManager.toBan)
|
||||
self.assertEqual(self.filter.failManager.getFailTotal(), 2)
|
||||
|
||||
|
|
Loading…
Reference in New Issue