mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
clientreplay: fix racy tests harder
This commit is contained in:
parent
aae06c96dd
commit
064929b559
@ -57,6 +57,9 @@ class TBase(tservers.HTTPProxyTest):
|
|||||||
assert l.response.status_code == 304
|
assert l.response.status_code == 304
|
||||||
l.request.path = "/p/305"
|
l.request.path = "/p/305"
|
||||||
l.response = None
|
l.response = None
|
||||||
|
l.live = False
|
||||||
|
l.intercepted = False
|
||||||
|
|
||||||
cr.start_replay([l])
|
cr.start_replay([l])
|
||||||
self.wait_response(l)
|
self.wait_response(l)
|
||||||
assert l.response.status_code == 305
|
assert l.response.status_code == 305
|
||||||
|
Loading…
Reference in New Issue
Block a user