diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-05-18 10:09:20 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 10:09:20 +1200 |
commit | eaca8fdaf7b1b3c81451a407593aa7ea7f9ffc31 (patch) | |
tree | 4a0f9699c67cb065d248c2efb8d4d1943611b5e2 | |
parent | aae06c96dde92757d469e2998163d3dab8a8e617 (diff) | |
parent | 064929b559fffb2572b2213c00e82e6fa3e69ef6 (diff) | |
download | mitmproxy-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.py | 3 |
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 |