Code Review Request JDK-8161106 Improve SSLSocket test template

Xuelei Fan at
Mon Jul 11 03:44:09 UTC 2016


Please review this enhancement of SSLSocket test template:

There are some known issues with the current SSLSocket test template
(test/javax/net/ssl/templates/ in the automation
testing environment:
1. the client or server can be blocked if the peer run into problems, as
may result in intermittent timeout failure.
2. the server accepted connection may be not linked to the expected
client. For example, some other test case may try to use and connect to
a free server socket port, unfortunately this port can be actually
opened by the server of SSLSocketTemplate because there is no
synchronization about the free socket port between test cases.  It's OK
to run the test singly, but may result in weird intermittent failure in
the automation testing environment.

The new test template in this update considers the noises above.


More information about the security-dev mailing list