disable concurrency tests on appveyor

This commit is contained in:
Maximilian Hils 2015-11-29 03:13:08 +01:00
parent bb62f5f3f5
commit f02da6448d
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ def serverconnect(context, sc):
@concurrent @concurrent
def request(context, flow): def request(context, flow):
time.sleep(0.5) time.sleep(0.1)
@concurrent @concurrent

View File

@ -62,6 +62,7 @@ def test_err():
tutils.raises(script.ScriptException, scr.unload) tutils.raises(script.ScriptException, scr.unload)
@tutils.skip_appveyor
def test_concurrent(): def test_concurrent():
s = flow.State() s = flow.State()
fm = flow.FlowMaster(None, s) fm = flow.FlowMaster(None, s)
@ -77,7 +78,7 @@ def test_concurrent():
# Two instantiations # Two instantiations
assert m.call_count == 0 # No calls yet. 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(): def test_concurrent2():