RFR: 8294958: java/net/httpclient/ConnectTimeout tests are slow

Daniel Jeliński djelinski at openjdk.org
Fri Oct 7 15:31:22 UTC 2022


Please review this test-only change that improves the execution times of ConnectTimeout tests:
- ConnectTimeoutHandshakeAsync and ConnectTimeoutHandshakeSync: before this change each one takes 80+ seconds to execute.
- ConnectTimeoutNoProxyAsync, ConnectTimeoutNoProxySync, ConnectTimeoutWithProxyAsync, ConnectTimeoutWithProxySync: before this change each one takes 50+ seconds to execute.

After this change each test completes successfully under 10 seconds.

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

Commit messages:
 - Reduce number of timeout test iterations

Changes: https://git.openjdk.org/jdk/pull/10605/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10605&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8294958
  Stats: 17 lines in 2 files changed: 0 ins; 12 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/10605.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10605/head:pull/10605

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


More information about the net-dev mailing list