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/5904668
pull/163/merge
Yaroslav Halchenko 2013-03-29 14:59:52 -04:00
parent ffbbb9f8a3
commit e7184e70f6
1 changed files with 1 additions and 1 deletions

View File

@ -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)