]> 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)
committermeejah <meejah@meejah.ca>
Tue, 19 Jan 2016 22:48:36 +0000 (15:48 -0700)
commit1e6492619d878a65aedb84346bbd3952a82fdf8c
tree12049c9ff60cb671d21ad2992576cbb4e38cc17c
parent2348dc8e02a75bf177b1e443fead45f50bd46af3
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