]> 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, 25 Jan 2016 15:44:20 +0000 (15:44 +0000)
commitf4b1369ccd6ef67a169ef1e7adfc651bdd8589da
tree77a6eed9317117ffcaadd21d8c6df0028808ea65
parentc5b0fdbc493e068862b5c4140eaea8cd8908b634
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