RFR: 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
Jaikiran Pai
jpai at openjdk.org
Tue Jan 21 10:27:37 UTC 2025
On Mon, 20 Jan 2025 17:31:44 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> The test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java has been observed failing at least once. The suspicion is that it may be due to the client URI using "localhost" instead of a literal IP.
>
> The test has also been slightly refactored to close the created HttpClient instances after use.
The servers that are created in these tests (through the `DigestEchoServer`) go through various layers during creation but they do indeed use loopback address for binding. So this change to use loopback address for the client request URI looks fine to me.
-------------
Marked as reviewed by jpai (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23203#pullrequestreview-2564158360
More information about the net-dev
mailing list