diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/scripts/concurrent_decorator.py | 2 | ||||
-rw-r--r-- | 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 913d4484..f6feda1d 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 39b216fb..b2bb33b9 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(): |