diff --git a/radicale/tests/test_base.py b/radicale/tests/test_base.py index 1c934f6a..3d80a259 100644 --- a/radicale/tests/test_base.py +++ b/radicale/tests/test_base.py @@ -874,7 +874,7 @@ permissions: RrWw""") delay = .3 delay_min = delay * 0.9 # no random jitter during test delay_max = delay + 0.2 # no random jitter during test - if sys.platform == "darwin": # no reliable sleep times + if sys.platform == "darwin" or sys.platform == "win32": # no reliable sleep times delay_max = delay_max * 1.5 self.configure({"server": {"delay_on_error": delay}}) @@ -910,7 +910,7 @@ permissions: RrWw""") delay = .3 delay_min = delay * 0.9 # no random jitter during test delay_max = delay + 0.2 # no random jitter during test - if sys.platform == "darwin": # no reliable sleep times + if sys.platform == "darwin" or sys.platform == "win32": # no reliable sleep times delay_max = delay_max * 1.5 self.configure({"rights": {"permit_delete_collection": False}, "auth": {"delay": delay}}) diff --git a/radicale/tests/test_sharing.py b/radicale/tests/test_sharing.py index f7b93313..78601aa4 100644 --- a/radicale/tests/test_sharing.py +++ b/radicale/tests/test_sharing.py @@ -266,7 +266,7 @@ class TestSharingApiSanity(BaseTest): delay = .3 delay_min = delay * 0.9 # no random jitter during test delay_max = delay + 0.2 # no random jitter during test - if sys.platform == "darwin": # no reliable sleep times + if sys.platform == "darwin" or sys.platform == "win32": # no reliable sleep times delay_max = delay_max * 1.5 for path in ["/.sharing", "/.sharing/"]: @@ -930,7 +930,7 @@ class TestSharingApiSanity(BaseTest): delay = .3 delay_min = delay * 0.9 # no random jitter during test delay_max = delay + 0.2 # no random jitter during test - if sys.platform == "darwin": # no reliable sleep times + if sys.platform == "darwin" or sys.platform == "win32": # no reliable sleep times delay_max = delay_max * 1.5 self.configure({"auth": {"type": "htpasswd",