From f02da6448d6c99d39ebe24623f3584e80f52806e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 29 Nov 2015 03:13:08 +0100 Subject: [PATCH] disable concurrency tests on appveyor --- test/scripts/concurrent_decorator.py | 2 +- test/test_script.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/scripts/concurrent_decorator.py b/test/scripts/concurrent_decorator.py index 913d4484f..f6feda1d4 100644 --- a/test/scripts/concurrent_decorator.py +++ b/test/scripts/concurrent_decorator.py @@ -14,7 +14,7 @@ def serverconnect(context, sc): @concurrent def request(context, flow): - time.sleep(0.5) + time.sleep(0.1) @concurrent diff --git a/test/test_script.py b/test/test_script.py index 39b216fb5..b2bb33b9a 100644 --- a/test/test_script.py +++ b/test/test_script.py @@ -62,6 +62,7 @@ def test_err(): tutils.raises(script.ScriptException, scr.unload) +@tutils.skip_appveyor def test_concurrent(): s = flow.State() fm = flow.FlowMaster(None, s) @@ -77,7 +78,7 @@ def test_concurrent(): # Two instantiations assert m.call_count == 0 # No calls yet. - assert (time.time() - t_start) < 0.5 + assert (time.time() - t_start) < 0.1 def test_concurrent2():