mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-07-10 17:43:02 +00:00
ENH: 1 more sleep_4_poll to guarantee difference in time stamp
This commit is contained in:
parent
e9964846fa
commit
337f3f6f7b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue