Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264190

Harden TLS interop tests

XMLWordPrintable

    • b18

        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 non JDK server starts, for example, by command line. To mitigate intermittent failures, the test/jdk/javax/net/ssl/TLSCommon/interop/BaseInteropTest.java should first validate the server is alive and if not, retry to create a valid server.

        In addition, Utilities::isSessionResumed implementation is not correct, it is more accurate to compare creation time of first and second session instead of comparing the second session with a manually obtained current time, that could result in a misleading error.

              fguallini Fernando Guallini
              fguallini Fernando Guallini
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: