RFR: 8303261: JFR: jdk/jfr/api/consumer/streaming/TestJVMCrash.java doesn't retry

Erik Gahlin egahlin at openjdk.org
Mon Feb 27 20:27:16 UTC 2023


Could I have review of the test fix. Problem is that an exception is thrown when the TestProcess class tries to access the repository and the process is not available. It's unclear why this is the case, but it leads to an exception, which exits the test retry lopp. Fix is to catch the exception, print the message and retry. 

Testing. 100 * jdk/jfr/api/consumer/streaming/TestJVMCrash.java

Thanks
Erik

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

Commit messages:
 - Initial

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

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


More information about the hotspot-jfr-dev mailing list