RFR: 8224775: test/jdk/com/sun/jdi/JdwpListenTest.java failed to attach
Alex Menkov
amenkov at openjdk.java.net
Thu Feb 18 21:51:53 UTC 2021
The fix also partially fixes JdwpAttachTest failures (JDK-8253940).
The failures are caused by network configuration changes during test execution ("global" IPv6 addresses disappears from interface).
To minimize chances of intermittent failures like this java.net tests use only link-local addresses whenever possible.
The fix does the same for JDI tests (Utils.getAddressesWithSymbolicAndNumericScopes is used by JdwpListenTest and JdwpAttachTest)
-------------
Commit messages:
- test only IPv6 link-local addresses
Changes: https://git.openjdk.java.net/jdk/pull/2633/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2633&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8224775
Stats: 14 lines in 1 file changed: 3 ins; 0 del; 11 mod
Patch: https://git.openjdk.java.net/jdk/pull/2633.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2633/head:pull/2633
PR: https://git.openjdk.java.net/jdk/pull/2633
More information about the serviceability-dev
mailing list