Integrated: 8264190: Harden TLS interop tests

Fernando Guallini fguallini at openjdk.java.net
Mon Apr 12 21:08:54 UTC 2021


On Fri, 26 Mar 2021 15:31:43 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

> Occasional interop tests failures may occur when making use of the test/jdk/javax/net/ssl/TLSCommon/interop framework since there is no assurance the selected available port it is still free at the time a server using the framework starts up, for instance, by command line. To mitigate intermittent failures, this patch updates interop/BaseInteropTest.java in order to validate the server is alive and if not, retry to create a valid server.
> 
> In addition, Utilities::isSessionResumed implementation is now comparing equality of first and second session creation time to validate session resumption

This pull request has now been integrated.

Changeset: f4e63957
Author:    Fernando Guallini <fguallini at openjdk.org>
Committer: Rajan Halade <rhalade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f4e63957
Stats:     169 lines in 5 files changed: 114 ins; 43 del; 12 mod

8264190: Harden TLS interop tests

Reviewed-by: rhalade

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

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



More information about the security-dev mailing list