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

duke duke at openjdk.org
Fri Feb 6 10:49:44 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.

@snazarkin 
Your change (at version 4af98b991bdb5d0f82c2d566e947015bbffdc56f) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/crac/pull/293#issuecomment-3859642760


More information about the crac-dev mailing list