RFR: 8368546: java/net/httpclient/RedirectTimeoutTest.java fails intermittently for HTTP/3 in tier7

Daniel Fuchs dfuchs at openjdk.org
Wed Sep 24 14:04:31 UTC 2025


The java/net/httpclient/RedirectTimeoutTest.java has been observed failing (once) for HTTP/3 on Windows in tier 7 (debug builds)

The log reveals that it's the HEAD request used for warmup that is failing in timeout. This was surprising as this HEAD request was not supposed to be configured with a timeout, and a reading of the test code revealed that a non-obvious call to HttpRequest.Builder::copy was missing in the test. I added that call, which should fix the issue.

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

Commit messages:
 - 8368546: java/net/httpclient/RedirectTimeoutTest.java fails intermittently for HTTP/3 in tier7

Changes: https://git.openjdk.org/jdk/pull/27471/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27471&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368546
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/27471.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27471/head:pull/27471

PR: https://git.openjdk.org/jdk/pull/27471


More information about the net-dev mailing list