Skip to content

Commit 2132660

Browse files
authored
Using test IP address in AbstractConnectTimeout.java (#142)
* Using test IP address * Update AbstractConnectTimeout.java
1 parent 6b2ce52 commit 2132660

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/jdk/java/net/httpclient/AbstractConnectTimeout.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ public Object[][] variants() {
8282
return l.stream().toArray(Object[][]::new);
8383
}
8484

85+
// Using test IP from TEST-NET-3: https://www.rfc-editor.org/rfc/rfc5735
8586
static final ProxySelector EXAMPLE_DOT_COM_PROXY = ProxySelector.of(
86-
InetSocketAddress.createUnresolved("example.com", 8080));
87+
InetSocketAddress.createUnresolved("203.0.113.1", 8080));
8788

8889
//@Test(dataProvider = "variants")
8990
protected void timeoutNoProxySync(Version requestVersion,

0 commit comments

Comments
 (0)