RFR: 8371559: Intermittent timeouts in test javax/net/ssl/Stapling/HttpsUrlConnClient.java [v2]
Mikhail Yankelevich
myankelevich at openjdk.org
Mon Dec 15 13:42:23 UTC 2025
On Mon, 15 Dec 2025 13:01:29 GMT, Arno Zeller <azeller at openjdk.org> wrote:
>> 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.
>
> Arno Zeller has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>
> - Use CountDownLatch
> - Merge remote-tracking branch 'upstream/master' into JDK-8371559
> - Merge branch 'openjdk:master' into JDK-8371559
> - Use timeout factor when waiting for server ready
Marked as reviewed by myankelevich (Committer).
Thank you for you changes, this looks good to me
-------------
PR Review: https://git.openjdk.org/jdk/pull/28784#pullrequestreview-3578247722
PR Comment: https://git.openjdk.org/jdk/pull/28784#issuecomment-3655706740
More information about the security-dev
mailing list