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.

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

Commit messages:
 - Skip test if no link-local addresses found

Changes: https://git.openjdk.org/jdk/pull/16356/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16356&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318788
  Stats: 10 lines in 1 file changed: 6 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/16356.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16356/head:pull/16356

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

Reply via email to