Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 1034982

Browse files
Shigeki Ohtsuorangemocha
authored andcommitted
test: add -no_rand_screen for tls-server-verify
This improves the performance of openssl s_client on Windows and gains several seconds to finish test-tls-server-verify. (cherry picked from commit 2ff517e) Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #25368
1 parent fa4aa34 commit 1034982

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/simple/test-tls-server-verify.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ function runClient(prefix, port, options, cb) {
150150

151151
var args = ['s_client', '-connect', '127.0.0.1:' + port];
152152

153+
// for the performance issue in s_client on Windows
154+
if (process.platform === 'win32')
155+
args.push('-no_rand_screen');
153156

154157
console.log(prefix + ' connecting with', options.name);
155158

0 commit comments

Comments
 (0)