]> 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 15:30:04 +0000 (15:30 +0000)
commitf6ee24c49b1b1ea609905cfb9687946dd2d73c5b
tree12049c9ff60cb671d21ad2992576cbb4e38cc17c
parent4738caf31255c4f9a9f6d7ddcfa56edc0a5cf5d2
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