BIND 10 trac2710, updated. 38faa03d1c37053d1c4ffe5e689716d42191a59e [2710] Lower sleep time for mtime change

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Mar 7 16:31:02 UTC 2013


The branch, trac2710 has been updated
       via  38faa03d1c37053d1c4ffe5e689716d42191a59e (commit)
      from  d27e68b1e1a5f124be2c02e0e6976afaabf0520b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 38faa03d1c37053d1c4ffe5e689716d42191a59e
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Mar 7 17:30:34 2013 +0100

    [2710] Lower sleep time for mtime change
    
    Gonna assume we're not running these on FAT ;)

-----------------------------------------------------------------------

Summary of changes:
 src/bin/cmdctl/tests/cmdctl_test.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/cmdctl/tests/cmdctl_test.py b/src/bin/cmdctl/tests/cmdctl_test.py
index 4f34645..c11d1a4 100644
--- a/src/bin/cmdctl/tests/cmdctl_test.py
+++ b/src/bin/cmdctl/tests/cmdctl_test.py
@@ -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)



More information about the bind10-changes mailing list