RFR: 8371559: Intermittent timeouts in test javax/net/ssl/Stapling/HttpsUrlConnClient.java

Arno Zeller azeller at openjdk.org
Fri Dec 12 09:37:12 UTC 2025


The test javax/net/ssl/Stapling/HttpsUrlConnClient.java sometimes hangs and run into timeouts. By adding some more tracing it showed that it can happen on machines with high load that the client thread throws a "Server not ready yet" RuntimeException because it only waits for 5 seconds for the server thread to come available.
I added some more output in case of errors to better see the issue and use the timeout factor to modify the maximum wait time.

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

Commit messages:
 - Merge branch 'openjdk:master' into JDK-8371559
 - Use timeout factor when waiting for server ready

Changes: https://git.openjdk.org/jdk/pull/28784/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28784&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371559
  Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/28784.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28784/head:pull/28784

PR: https://git.openjdk.org/jdk/pull/28784


More information about the security-dev mailing list