[crac] RFR: 8362238: [CRaC] crac/fileDescriptors/FileWatcherThreadTest should wait for events with timeout

Timofei Pushkin tpushkin at openjdk.org
Thu Feb 5 15:51:18 UTC 2026


On Thu, 5 Feb 2026 14:04:10 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:

> test/jdk/jdk/crac/fileDescriptors/FileWatcherThreadTest.java may be affected by race condition. Particularly case with checkpointWithoutKey=false may wait infinite temporary file is created before WatchKey is acquired. Since the bug is never reproduced locally I suggest to fix step-by-step. Let’s introduce timeout case firstly.

Marked as reviewed by tpushkin (Committer).

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

PR Review: https://git.openjdk.org/crac/pull/293#pullrequestreview-3757940093


More information about the crac-dev mailing list