Fixed proxy test.
This commit is contained in:
parent
3b18490ead
commit
06504f2c65
|
@ -67,10 +67,19 @@ public class ProxyFakeTunnelTest extends ProxyTunnellingTest
|
|||
}
|
||||
|
||||
protected void stopProxy() throws Exception
|
||||
{
|
||||
if (_proxySocket != null)
|
||||
{
|
||||
_proxySocket.close();
|
||||
_proxyThread.interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void testExternalProxy() throws Exception
|
||||
{
|
||||
// Do not execute this test, since it won't hit the fake proxy
|
||||
}
|
||||
|
||||
static class FakeProxy extends Thread
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue