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

Intermittent test failure java/net/Socket/asyncClose/AsyncClose.java

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b08

      Backports

        Description

        TESTFAIL:java/net/Socket/asyncClose/AsyncClose.java

        java/net/Socket/asyncClose/AsyncClose.java failing intermittently:

        ----------System.out:(28/663)----------
        ******************************
        Test: Socket.getInputStream().read()
        Passed.

        ******************************
        Test: Socket.getInputStream().read() (with timeout)
        Passed.

        ******************************
        Test: Socket.getOutputStream().write()
        Passed.

        ******************************
        Test: DatagramSocket.receive
        Passed.

        ******************************
        Test: DatagramSocket.receive (timeout specified)
        Passed.

        ******************************
        Test: ServerSocket.accept()
        Failed: ServerSocket.accept() wasn't preempted

        ******************************
        Test: ServerSocket.accept() (with timeout)
        Failed: ServerSocket.accept() wasn't preempted

        ----------System.err:(12/613)----------
        java.lang.Exception: 2 sub-tests failed - see log.
        at AsyncClose.main(AsyncClose.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:491)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
        at java.lang.Thread.run(Thread.java:724)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ewang Eric Wang (Inactive)
                Reporter:
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: