Updated test_rollover delay to just over a second.

This commit is contained in:
Vinay Sajip 2011-05-24 07:12:41 +01:00
parent e36f37525b
commit b7b1930fe3
1 changed files with 1 additions and 1 deletions

View File

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