[jdk18] RFR: 8269425: 2 jdk/jfr/api/consumer/streaming tests failed to attach
Erik Gahlin
egahlin at openjdk.java.net
Thu Dec 16 18:30:22 UTC 2021
Hi,
Could I have a review of this test fix?
It could be this bug is no longer relevant due to fixes on linux-aarch64, but I don't think the fixes hurt either.
The timeout of attach is increased from 10.5 second to 100 seconds, allowing more time to attach to the process. I also changed so the test detaches if it can't get the system property where the JFR repository is located. This can happen if attach happens before JFR is initialized.
The alternative would be to close this bug as "could not reproduce".
Testing:
Running 300 times on Mac, Windows and Linux, including linux-aarch64-debug.
Thanks
Erik
-------------
Commit messages:
- Initial
Changes: https://git.openjdk.java.net/jdk18/pull/38/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=38&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8269425
Stats: 7 lines in 3 files changed: 1 ins; 1 del; 5 mod
Patch: https://git.openjdk.java.net/jdk18/pull/38.diff
Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/38/head:pull/38
PR: https://git.openjdk.java.net/jdk18/pull/38
More information about the hotspot-jfr-dev
mailing list