On Sat, 3 Jan 2026 02:08:21 GMT, SendaoYan <[email protected]> wrote:

>> Hi all,
>> 
>> The test 
>> test/jdk/java/net/httpclient/TimeoutResponseBodyTest.java#retriesEnabledForResponseFailure
>>   was observed timed out when run with jvm option -Xcomp. The failure 
>> details shows in [JDK-8374432](https://bugs.openjdk.org/browse/JDK-8374432). 
>> Maybe it need more time for C2 to compile the httpclient classes than the 
>> default mixed mode.
>> 
>> So this PR read the timeout factor from jtreg, and apply the timeout factor 
>> to `REQUEST_TIMEOUT` by multiply it. Change has been verified locally by run 
>> the related tests 
>> test/jdk/java/net/httpclient/TimeoutResponseHeaderTest.java and 
>> test/jdk/java/net/httpclient/TimeoutResponseBodyTest.java both with -Xmixed 
>> and -Xcomp. Test-fix only, no risk,
>
> SendaoYan has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   use "jdk.test.lib.Utils.adjustTimeout"

I've updated the JBS report as we have seen further timeouts in related tests 
with no use of -Xcomp.

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

PR Comment: https://git.openjdk.org/jdk/pull/29012#issuecomment-3708422500

Reply via email to