mirror of https://github.com/grpc/grpc-java.git
Use impossible port for unreachability test
This commit is contained in:
parent
5d025ed6ae
commit
39659dce85
|
|
@ -1317,7 +1317,7 @@ public class OkHttpClientTransportTest {
|
||||||
@Test
|
@Test
|
||||||
public void unreachableServer() throws Exception {
|
public void unreachableServer() throws Exception {
|
||||||
clientTransport = new OkHttpClientTransport(
|
clientTransport = new OkHttpClientTransport(
|
||||||
new InetSocketAddress("localhost", 1234),
|
new InetSocketAddress("localhost", 0),
|
||||||
"authority",
|
"authority",
|
||||||
executor,
|
executor,
|
||||||
null,
|
null,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue