Fixed proxy test.
This commit is contained in:
parent
3b18490ead
commit
06504f2c65
|
@ -68,8 +68,17 @@ public class ProxyFakeTunnelTest extends ProxyTunnellingTest
|
|||
|
||||
protected void stopProxy() throws Exception
|
||||
{
|
||||
_proxySocket.close();
|
||||
_proxyThread.interrupt();
|
||||
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