mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 15:16:41 +00:00
Remove the flush_volume call in RealTest as well as in RealTestAliceBob.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
b05b701532
commit
237f4719ee
@ -1406,12 +1406,9 @@ class RealTest(SingleMagicFolderTestMixin, unittest.TestCase):
|
|||||||
|
|
||||||
def notify(self, path, mask, magic=None, flush=True):
|
def notify(self, path, mask, magic=None, flush=True):
|
||||||
# Writing to the filesystem causes the notification.
|
# Writing to the filesystem causes the notification.
|
||||||
# However, flushing filesystem buffers may be necessary on Windows.
|
# Actually, there's no way to know when the actual
|
||||||
if flush:
|
|
||||||
fileutil.flush_volume(path.path)
|
|
||||||
# actually, there's no way to know when the actual
|
|
||||||
# notification will occur, and anyway we're not waiting for
|
# notification will occur, and anyway we're not waiting for
|
||||||
# them in any case...so we'll just fudge it and home 100ms is enough.
|
# them in any case...so we'll just fudge it and hope 100ms is enough.
|
||||||
return task.deferLater(reactor, 0.1, lambda: None)
|
return task.deferLater(reactor, 0.1, lambda: None)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user