RFR: 8368373: Test H3MalformedResponseTest.testMalformedResponse intermittent timed out
Daniel Fuchs
dfuchs at openjdk.org
Tue Sep 23 13:37:27 UTC 2025
On Tue, 23 Sep 2025 12:13:37 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
>> test/jdk/java/net/httpclient/http3/H3MalformedResponseTest.java line 371:
>>
>>> 369: request,
>>> 370: BodyHandlers.discarding())
>>> 371: .get(30, TimeUnit.SECONDS);
>>
>> @dfuch, @jaikiran, can we replace this with a simple `get()` and rely on JTreg's default timeout settings?
>
> we probably could. This test should work equally well with a `send` instead of `sendAsync` too. But the proposed change is good enough for now.
@sendaoYan is this test run with a timeout factor > 1 in the configuration where it fails?
If so a possibility could also be to use `Utils.adjustTimeout` to adjust the timeout with the timeout factor.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27447#discussion_r2372360504
More information about the net-dev
mailing list