Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8362238

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-crac
    • repo-crac
    • 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.

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

              Created:
              Updated: