Kaydet (Commit) 252048c8 authored tarafından Vinay Sajip's avatar Vinay Sajip

test_logging: extended time range for rollover test.

üst a171f9c6
......@@ -3515,7 +3515,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
# could of course still fail, but the chances are lower.
found = False
now = datetime.datetime.now()
GO_BACK = 2 * 60 # seconds
GO_BACK = 5 * 60 # seconds
for secs in range(GO_BACK):
prev = now - datetime.timedelta(seconds=secs)
fn = self.fn + prev.strftime(".%Y-%m-%d_%H-%M-%S")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment