Integrated: 8318788: java/net/Socks/SocksSocketProxySelectorTest.java fails on machines with no IPv6 link-local addresses

Daniel Jeliński djelinski at openjdk.org
Thu Oct 26 08:52:43 UTC 2023


On Wed, 25 Oct 2023 08:31:47 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> The test was failing on machines with no link-local addresses configured; JUnit's ParameterizedTest fails if the parameter source returns no parameters, and `linkLocalIpv6Literals` was used as a parameter source.
> 
> I changed the test to non-parameterized; the test now uses the first address from `linkLocalIpv6Literals`, and is aborted if the method returns no addresses.

This pull request has now been integrated.

Changeset: 970cd202
Author:    Daniel Jeliński <djelinski at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/970cd202049f592946f9c1004ea92dbd58abf6fb
Stats:     10 lines in 1 file changed: 6 ins; 0 del; 4 mod

8318788: java/net/Socks/SocksSocketProxySelectorTest.java fails on machines with no IPv6 link-local addresses

Reviewed-by: jpai, dfuchs, mbaesken

-------------

PR: https://git.openjdk.org/jdk/pull/16356


More information about the net-dev mailing list