Commit 9ac42f1b authored by Rich Trott's avatar Rich Trott
Browse files

test: remove common.port from test-tls-securepair-client

OpenSSL s_server accepts port 0 as an indicator to use an open port
provided by the operating system. Use that instead of common.PORT in the
test.

Remove 500ms delay added in 8e461673.
Hopefully the race condition in OpenSSL s_server has been fixed and/or
the change to port 0 means that the server is listening by the time
the ACCEPT text is printed and the setTimeout() is no longer necessary.

PR-URL: https://github.com/nodejs/node/pull/32024


Reviewed-By: default avatarBen Coe <bencoe@gmail.com>
Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
parent a0c3c4de
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment