Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
38faa03d
Commit
38faa03d
authored
Mar 07, 2013
by
Jelte Jansen
Browse files
[2710] Lower sleep time for mtime change
Gonna assume we're not running these on FAT ;)
parent
d27e68b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/cmdctl/tests/cmdctl_test.py
View file @
38faa03d
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment