RFR: 8264190: Harden TLS interop tests [v2]

Fernando Guallini fguallini at openjdk.java.net
Fri Mar 26 17:20:44 UTC 2021


> 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

Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:

  no need to check if alive while iterating during accept

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3218/files
  - new: https://git.openjdk.java.net/jdk/pull/3218/files/e9b984b9..474f482d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3218&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3218&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3218.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3218/head:pull/3218

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


More information about the security-dev mailing list