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

[JMH] test SocketChannelConnectionSetup failed for 2 threads config

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 24
    • core-libs
    • b13

      The test SocketChannelConnectionSetup for 2 thread configuration (-t 2) failed with the NoSuchFileException for the "family = unix" on the attempt to delete used tempDir.
      Extra checks to verify that files present should be added or exception should be catch and ignored.

      Command to run:
      java -jar benchmarks.jar -f 1 -wi 1 -i 1 -t 2 SocketChannelConnectionSetup
      Output:
      Iteration 1: <failure>

      java.nio.file.NoSuchFileException: /tmp/readWriteTest6974342739406755948
              at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)

            vyazici Volkan Yazici
            vaivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: