From 288f9a3857a2d042bbe77dcb94c62da15e496ea7 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sun, 5 Feb 2017 10:42:47 +0100 Subject: [PATCH] fix flaky test --- test/mitmproxy/test_server.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/mitmproxy/test_server.py b/test/mitmproxy/test_server.py index 86fc6ba05..6e7ca2754 100644 --- a/test/mitmproxy/test_server.py +++ b/test/mitmproxy/test_server.py @@ -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