Commit 38faa03d authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2710] Lower sleep time for mtime change

Gonna assume we're not running these on FAT ;)
parent d27e68b1
......@@ -520,7 +520,8 @@ class TestSecureHTTPServer(unittest.TestCase):
# Yes sleep sucks, but in this case we need it to check for
# a changed mtime, not for some thread to do its work
time.sleep(1.1)
# (do we run these tests on systems with 1+ secs mtimes?)
time.sleep(0.1)
# create the file again, this time read should not be a noop
with TmpTextFile(accounts_file, ['otherroot,foo,bar']):
self.server._create_user_info(accounts_file)
......
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