[crac] RFR: 8362837: [CRaC] jdk/crac/MXBean.java can fail on macOS [v4]

Timofei Pushkin tpushkin at openjdk.org
Mon Jul 21 09:45:22 UTC 2025


On Sun, 20 Jul 2025 20:01:34 GMT, Jan Kratochvil <jkratochvil at openjdk.org> wrote:

>> The CI runs fine but locally (Linux Fedora 42 x86_64) it is failing for me - for any testcase trying to use OutputAnalyzer for the restore-only part. Such testcases failing for me are for example:
>> - test/jdk/jdk/crac/fileDescriptors/CheckpointWithOpenFdsTest.java
>> - test/jdk/jdk/crac/fileDescriptors/LoggingFileOpenTest.java
>> - test/jdk/jdk/crac/SecureRandom/ReseedTest.java
>> 
>> It does not implement the part
>> 
>>> close to 0
>> 
>> as that is the problem being fixed.
>
> Jan Kratochvil has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Second TimPushkin's patch
>  - 1st patch by TimPushkin

Maybe I am indeed overcomplicating it and just checking that the values are somewhat meaningful with a large tolerance (or none at all) is enough, as Jan suggests

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

PR Comment: https://git.openjdk.org/crac/pull/246#issuecomment-3095937596


More information about the crac-dev mailing list