RFR: 8186765: Speed up test sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java

Daniel Jeliński djelinski at openjdk.org
Mon Oct 3 15:09:04 UTC 2022


This PR reduces the execution time of ProxyAuthTest.

Before this change the test always required at least 3 minutes to complete (6x 30 seconds timeout in `SSLSocketTemplate`'s `sslServerSocket.accept()`).
After this change the test does not open a server socket when it is not necessary.

The test continues to pass.

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

Commit messages:
 - Speed up https ProxyAuthTest

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

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



More information about the security-dev mailing list