aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-05-18 10:09:20 +1200
committerGitHub <noreply@github.com>2018-05-18 10:09:20 +1200
commiteaca8fdaf7b1b3c81451a407593aa7ea7f9ffc31 (patch)
tree4a0f9699c67cb065d248c2efb8d4d1943611b5e2
parentaae06c96dde92757d469e2998163d3dab8a8e617 (diff)
parent064929b559fffb2572b2213c00e82e6fa3e69ef6 (diff)
downloadmitmproxy-eaca8fdaf7b1b3c81451a407593aa7ea7f9ffc31.tar.gz
mitmproxy-eaca8fdaf7b1b3c81451a407593aa7ea7f9ffc31.tar.bz2
mitmproxy-eaca8fdaf7b1b3c81451a407593aa7ea7f9ffc31.zip
Merge pull request #3137 from cortesi/races
track down racy tests
-rw-r--r--test/mitmproxy/addons/test_clientplayback.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mitmproxy/addons/test_clientplayback.py b/test/mitmproxy/addons/test_clientplayback.py
index 8a160f0d..1929ee3d 100644
--- a/test/mitmproxy/addons/test_clientplayback.py
+++ b/test/mitmproxy/addons/test_clientplayback.py
@@ -57,6 +57,9 @@ class TBase(tservers.HTTPProxyTest):
assert l.response.status_code == 304
l.request.path = "/p/305"
l.response = None
+ l.live = False
+ l.intercepted = False
+
cr.start_replay([l])
self.wait_response(l)
assert l.response.status_code == 305