Integrated: 8301214: Adjust handshakeTimeout value in test HandshakeTimeout.java after 8189338

Daniel Jeliński djelinski at openjdk.org
Wed Feb 8 08:04:55 UTC 2023


On Mon, 30 Jan 2023 11:06:05 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: e628fd5c
Author:    Daniel Jeliński <djelinski at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e628fd5c39847f2f9813cce8e78be8db5e60507d
Stats:     72 lines in 1 file changed: 2 ins; 59 del; 11 mod

8301214: Adjust handshakeTimeout value in test HandshakeTimeout.java after 8189338

Reviewed-by: msheppar, vtewari

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

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


More information about the core-libs-dev mailing list