RFR: 8241372: Several test failures due to javax.net.ssl.SSLException: Connection reset [v2]

Daniel Fuchs dfuchs at openjdk.java.net
Fri Feb 5 11:26:44 UTC 2021


On Fri, 5 Feb 2021 10:48:00 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

>> The server side is binding to the wildcard address which has been a source of instability in many networking tests due to javax.net.ssl.SSLException: Connection reset. Changing the following tests to bind to loopback address fixes intermittent failures:
>> sun/security/ssl/SSLSocketImpl/ReverseNameLookup.java
>> javax/net/ssl/TLSCommon/TLSTest.java
>> sun/security/ssl/CipherSuite/SupportedGroups.java
>> 
>> 
>> javax/net/ssl/SSLSession/TestEnabledProtocols.java still throws a connection reset occasionally because the server closes the connection before the client is done during handshake. That race condition cannot be completely removed in this test, thus is now handled and logged.
>
> Fernando Guallini has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Merge branch '8241372' of github.com:fguallini/jdk into 8241372
>  - remove not needed bug id from tests, run with preferIPv4Stack

The new changes look goo to me. Please wait to get approval from someone from security-dev before pushing.

-------------

Marked as reviewed by dfuchs (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2405


More information about the security-dev mailing list