RFR: 8301214: Adjust handshakeTimeout value in test HandshakeTimeout.java after 8189338
Daniel Jeliński
djelinski at openjdk.org
Mon Jan 30 11:48:01 UTC 2023
Please review this patch that reduces the socket timeout used in HandshakeTimeout test to its minimum value of 1 millisecond.
This change makes the test complete 10 seconds faster; before this change it took 5 seconds for the handshake to timeout, and the test attempts 2 handshakes.
The change also makes the test more likely to pass when it has to compete with other tests for CPU time.
-------------
Commit messages:
- Reduce socket timeout
Changes: https://git.openjdk.org/jdk/pull/12292/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12292&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8301214
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/12292.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12292/head:pull/12292
PR: https://git.openjdk.org/jdk/pull/12292
More information about the core-libs-dev
mailing list