lessen test race conditions

This commit is contained in:
Maximilian Hils 2015-11-29 02:59:25 +01:00
parent 0b06b02c92
commit bb62f5f3f5
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -77,7 +77,7 @@ def test_concurrent():
# Two instantiations
assert m.call_count == 0 # No calls yet.
assert (time.time() - t_start) < 0.09
assert (time.time() - t_start) < 0.5
def test_concurrent2():