]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Teach unit-tests to time-warp
authormeejah <meejah@meejah.ca>
Wed, 7 Oct 2015 23:03:28 +0000 (17:03 -0600)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 28 Dec 2015 16:18:52 +0000 (16:18 +0000)
commitfb50f3e6358c038d8c1189ca1ea070e5f24f8e72
treef6126af613d8ba2f4e9ce169d27af259110bf85e
parent7144da96eeb42e52525f5ac11e253a0a5c81cef8
Teach unit-tests to time-warp

1. Split alice/bob clocks to avoid races conditions
   in the tests
2. Wrap ._notify so we can advance the clock after inotify
   calls in the RealTest (since it takes >0ms to do the "real" notifies)
src/allmydata/test/test_cli_magic_folder.py
src/allmydata/test/test_magic_folder.py