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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • repo-crac
    • Affects Version/s: repo-crac
    • Component/s: core-libs
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Sergey Nazarkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: