RFR: 8264190: Harden TLS interop tests [v3]

Fernando Guallini fguallini at openjdk.java.net
Mon Mar 29 17:31:59 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:

  Improve JdkServer::close and Utilities::waitFor methods

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

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

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

  Stats: 5 lines in 2 files changed: 2 ins; 0 del; 3 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