RFR: 8371366: java/net/httpclient/whitebox/RawChannelTestDriver.java fails intermittently in jtreg timeout

Daniel Fuchs dfuchs at openjdk.org
Fri Nov 7 17:42:11 UTC 2025


On Thu, 6 Nov 2025 18:05:50 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Nothing looks wrong with the test or the code. The failure happens rarely - probably when the machine is under load: this test tries to saturate the socket buffers and is resource consuming.
>> 
>> The proposed fix is just to double the jtreg timeout for this test from 120 to 240.
>
> Yes.

> @dfuch, could replacing `1ms` sleeps in `RawChannelTest` with `1ns` be a solution too?

No idea. I'm not sure whether it would work.

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

PR Comment: https://git.openjdk.org/jdk/pull/28178#issuecomment-3503864889


More information about the net-dev mailing list