Use impossible port for unreachability test

This commit is contained in:
Carl Mastrangelo 2016-02-26 18:19:41 -08:00
parent 5d025ed6ae
commit 39659dce85
1 changed files with 1 additions and 1 deletions

View File

@ -1317,7 +1317,7 @@ public class OkHttpClientTransportTest {
@Test
public void unreachableServer() throws Exception {
clientTransport = new OkHttpClientTransport(
new InetSocketAddress("localhost", 1234),
new InetSocketAddress("localhost", 0),
"authority",
executor,
null,