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

Timofei Pushkin tpushkin at openjdk.org
Mon Jul 21 13:23:10 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

Ok, I can agree to just increase the tolerance instead of my suggestions. Looks like it should be `100_000` at least since we had `60143` at least once.

Maybe we should even do it only downstream... Not sure why our MacOS runners are that slow.

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

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


More information about the crac-dev mailing list