From: Daira Hopwood Date: Tue, 3 Nov 2015 15:32:29 +0000 (+0000) Subject: Set REMOTE_SCAN_INTERVAL to 0.5 for test_magic_folder. X-Git-Url: https://git.rkrishnan.org/simplejson/components/%22doc.html/something?a=commitdiff_plain;h=5742e60b9cdeea263ff2810183231563e41cf922;p=tahoe-lafs%2Ftahoe-lafs.git Set REMOTE_SCAN_INTERVAL to 0.5 for test_magic_folder. (Not sure whether this is a good idea or not.) Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/test/test_magic_folder.py b/src/allmydata/test/test_magic_folder.py index 3a5cb78d..01157279 100644 --- a/src/allmydata/test/test_magic_folder.py +++ b/src/allmydata/test/test_magic_folder.py @@ -33,7 +33,7 @@ class MagicFolderTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, ReallyEqual temp = self.mktemp() self.basedir = abspath_expanduser_unicode(temp.decode(get_filesystem_encoding())) self.magicfolder = None - self.patch(Downloader, 'REMOTE_SCAN_INTERVAL', 0) + self.patch(Downloader, 'REMOTE_SCAN_INTERVAL', 0.5) def _get_count(self, name, client=None): counters = (client or self.get_client()).stats_provider.get_stats()["counters"]