From 46f1f952e95a676ead059bb3167737f40f70904b Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 23 May 2016 16:40:44 -0600 Subject: [PATCH] tighten delay on windows tests --- src/allmydata/test/test_magic_folder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/test/test_magic_folder.py b/src/allmydata/test/test_magic_folder.py index e9ffa57e4..27a649683 100644 --- a/src/allmydata/test/test_magic_folder.py +++ b/src/allmydata/test/test_magic_folder.py @@ -1438,7 +1438,7 @@ class RealTest(SingleMagicFolderTestMixin, unittest.TestCase): # Actually, there's no way to know when the actual # notification will occur, and anyway we're not waiting for # them in any case...so we'll just fudge it and hope 100ms is enough. - delay = 5.0 if sys.platform == "win32" else 0.1 + delay = 1.1 if sys.platform == "win32" else 0.1 return task.deferLater(reactor, delay, lambda: None) @@ -1455,7 +1455,7 @@ class RealTestAliceBob(MagicFolderAliceBobTestMixin, unittest.TestCase): # Actually, there's no way to know when the actual # notification will occur, and anyway we're not waiting for # them in any case...so we'll just fudge it and hope 100ms is enough. - delay = 5.0 if sys.platform == "win32" else 0.1 + delay = 1.1 if sys.platform == "win32" else 0.1 return task.deferLater(reactor, delay, lambda: None)