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 ------------- Commit messages: - Harden TLS interop tests Changes: https://git.openjdk.java.net/jdk/pull/3218/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3218&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8264190 Stats: 28 lines in 4 files changed: 19 ins; 1 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