mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
fix flaky test
This commit is contained in:
parent
d133b8baee
commit
288f9a3857
@ -536,13 +536,6 @@ class TestSocks5(tservers.SocksModeTest):
|
||||
socks.VERSION.SOCKS5,
|
||||
[socks.METHOD.USERNAME_PASSWORD]
|
||||
).to_file(p.wfile)
|
||||
socks.Message(
|
||||
socks.VERSION.SOCKS5,
|
||||
socks.CMD.BIND,
|
||||
socks.ATYP.DOMAINNAME,
|
||||
("example.com", 8080)
|
||||
).to_file(p.wfile)
|
||||
|
||||
p.wfile.flush()
|
||||
f = p.request("get:/p/200") # the request doesn't matter, error response from handshake will be read anyway.
|
||||
assert f.status_code == 502
|
||||
|
Loading…
Reference in New Issue
Block a user