-
Bug
-
Resolution: Fixed
-
P2
-
8u60, 9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8160960 | 8u60 | Andrey Rusakov | P2 | Closed | Fixed |
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.
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.
- backported by
-
JDK-8160960 [TEST BUG] Hanged test blocks port and breaks following tests.
- Closed
- relates to
-
JDK-8164212 [TEST BUG] Instructions for manual tests are not displayed
- Resolved