]> 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>
Thu, 8 Oct 2015 13:54:39 +0000 (14:54 +0100)
commit906d3da8193209614c645796a3ccc4f29e2e9499
tree7c9b22db4e35c70c194ef3f78563e4bccc6971dc
parentbfbc20f40be7f29b6b134713a43990696466e8f8
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