On Tue, 4 May 2021 15:12:39 GMT, Fernando Guallini <fguall...@openjdk.org> wrote:
> test sun/security/ssl/SSLSocketImpl/CloseSocket.java verifies the behavior > when a server closes the socket connection during a handshake. The server was > waiting a fixed 100ms before closing it, but there was no guarantee that the > client started the handshake before or during that time frame > > With this changeset, the server is checking whether the client thread has > initiated handshake, and retrying if needed after waiting a short time. In > addition, the test is now reusing SSLSocketTemplate to simplify sockets > configuration and client/server synchronization This pull request has now been integrated. Changeset: 347d41df Author: Fernando Guallini <fguall...@openjdk.org> Committer: Julia Boes <jb...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/347d41df909f5762c5e066ab70d0fe7ea500ffaf Stats: 114 lines in 1 file changed: 50 ins; 50 del; 14 mod 8164804: sun/security/ssl/SSLSocketImpl/CloseSocket.java makes not reliable time assumption Reviewed-by: dfuchs, rhalade ------------- PR: https://git.openjdk.java.net/jdk/pull/3856