mirror of https://github.com/fail2ban/fail2ban
ENH: 1 more sleep_4_poll to guarantee difference in time stamp
parent
e9964846fa
commit
337f3f6f7b
|
@ -213,6 +213,7 @@ class LogFileMonitor(unittest.TestCase):
|
|||
# but not any longer
|
||||
self.assertTrue(self.notModified())
|
||||
self.assertTrue(self.notModified())
|
||||
_sleep_4_poll() # to guarantee freshier mtime
|
||||
for i in range(4): # few changes
|
||||
# unless we write into it
|
||||
self.file.write("line%d\n" % i)
|
||||
|
|
Loading…
Reference in New Issue