Updated test_rollover delay to just over a second.
This commit is contained in:
parent
e36f37525b
commit
b7b1930fe3
|
@ -3586,7 +3586,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
|
|||
r = logging.makeLogRecord({'msg': 'testing'})
|
||||
fh.emit(r)
|
||||
self.assertLogFile(self.fn)
|
||||
time.sleep(1.0)
|
||||
time.sleep(1.01) # just a little over a second ...
|
||||
fh.emit(r)
|
||||
fh.close()
|
||||
# At this point, we should have a recent rotated file which we
|
||||
|
|
Loading…
Reference in New Issue