mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
disable concurrency tests on appveyor
This commit is contained in:
parent
bb62f5f3f5
commit
f02da6448d
@ -14,7 +14,7 @@ def serverconnect(context, sc):
|
||||
|
||||
@concurrent
|
||||
def request(context, flow):
|
||||
time.sleep(0.5)
|
||||
time.sleep(0.1)
|
||||
|
||||
|
||||
@concurrent
|
||||
|
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user