mark also windows for non-reliable sleep times
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user