On Mon, 7 Sep 2026 07:49:52 GMT, Volkan Yazici <[email protected]> wrote:

> Skip `IdleConnectionTimeoutReuseTest` when JTreg is configured to run tests 
> using VTs.
> 
> The test limits the default VT scheduler to a single platform thread to 
> observe a particular starvation behavior. If the test itself is also run 
> using a VT, a deadlock occurs, and the test times out, as reported in the 
> associated JBS ticket. Skip the test when JTreg uses VTs.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Verified the fix as follows:

1. `make test 
TEST=test/jdk/java/net/httpclient/IdleConnectionTimeoutReuseTest.java 
JTREG="TEST_THREAD_FACTORY=Virtual"` fails with timeout before the fix.
2. It passes (by skipping the test) after the fix.

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

PR Comment: https://git.openjdk.org/jdk/pull/32725#issuecomment-5567254469

Reply via email to