RFR: 8264190: Harden TLS interop tests [v4]

Fernando Guallini fguallini at openjdk.java.net
Wed Mar 31 10:53:34 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:

  add max_retries count, move shell methods to ProcUtils and add win methods

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3218/files
  - new: https://git.openjdk.java.net/jdk/pull/3218/files/5688014b..b29e4886

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

  Stats: 143 lines in 3 files changed: 93 ins; 42 del; 8 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