Integrated: 8375352: java/net/httpclient/ConnectTimeoutWithProxy*.java tests fail on EC2
Volkan Yazici
vyazici at openjdk.org
Tue Feb 10 09:05:32 UTC 2026
On Mon, 26 Jan 2026 20:14:32 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:
> Fix tests using `AbstractConnectTimeout` by replacing the usage of an external host (i.e., `example.com`), which unexpectedly resolves to a real IP address on certain test hosts, with a custom `ServerSocket` bootstrapped by the test.
>
> The initial PR contains 3 commits:
>
> 1. b06f2606c88 Replace external domain with a custom `ServerSocket` (i.e., _"the fix"_)
> 2. b9262c7ca01 Remove the need for multiple test files
> 3. d95a335db93 Migrate tests to JUnit
>
> All commits (i.e., 1, 1+2, and 1+2+3) pass tests.
This pull request has now been integrated.
Changeset: ea90214c
Author: Volkan Yazici <vyazici at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ea90214ce90c916dd5145c09de6960f038843326
Stats: 818 lines in 6 files changed: 370 ins; 448 del; 0 mod
8375352: java/net/httpclient/ConnectTimeoutWithProxy*.java tests fail on EC2
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.org/jdk/pull/29431
More information about the net-dev
mailing list