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

[TEST BUG] Hanged test blocks port and breaks following tests.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u60, 9
    • Fix Version/s: 9
    • Component/s: javafx

      Backports

        Description

        JavaFX test consists of client and server part.
        For each test server opens port and waits for client to connect.
        Client is executed as separate process which performs test connects to server to send test results or status. Sometimes test process hangs and server waits for connection forever, while next tests are failing because they can't bind occupied port.

        To solve that problem test needs following modifications:
        1. Add timeout for server part. If client hadn't connected in a while, client process should be forcibly terminated.
        2. Server should use any free port instead of predefined port.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  arusakov Andrey Rusakov (Inactive)
                  Reporter:
                  arusakov Andrey Rusakov (Inactive)
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: