RFR: 8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout

Daniel Fuchs dfuchs at openjdk.org
Tue Jan 23 13:14:28 UTC 2024


On Tue, 23 Jan 2024 12:40:10 GMT, Darragh Clarke <dclarke at openjdk.org> wrote:

> Currently `HttpURLConnectionExpectContinueTest` fails intermittently with a `SocketTimeoutException`.
> 
> The connection timeout that is currently set to `1000` isn't actually needed for the purpose of the test so it should be more stable if the timeout is removed entirely.
> 
> I've tested this change for stability it seems reliable.

Removing the connection timeout seems to be the best route to increase the stability of this test.

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

Marked as reviewed by dfuchs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17535#pullrequestreview-1838760180


More information about the net-dev mailing list