mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 03:07:18 +00:00
lessen test race conditions
This commit is contained in:
parent
0b06b02c92
commit
bb62f5f3f5
2 changed files with 2 additions and 2 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue