small amend with fix still one test (ban unexpected in this old artificial test-cases, todo - such tests should be rewritten or removed)

pull/2689/head
sebres 2020-03-13 17:28:33 +01:00
parent e3737bb7c0
commit ab363a2c0e
1 changed files with 1 additions and 0 deletions

View File

@ -1719,6 +1719,7 @@ class GetFailures(LogCaptureTestCase):
self.pruneLog("[test-phase useDns=%s]" % useDns)
jail = DummyJail()
filter_ = FileFilter(jail, useDns=useDns)
filter_.banASAP = False # avoid immediate ban in this tests
filter_.active = True
filter_.failManager.setMaxRetry(1) # we might have just few failures