Skip to content

Commit e809f01

Browse files
Shigeki Ohtsujoaocgreis
Shigeki Ohtsu
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 2ff517e0e410ea33ba5a3d289a82fc315d120e8e)
1 parent 2107be0 commit e809f01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

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

135135
var args = ['s_client', '-connect', '127.0.0.1:' + port];
136136

137+
// for the performance issue in s_client on Windows
138+
if (process.platform === 'win32')
139+
args.push('-no_rand_screen');
137140

138141
console.log(prefix + ' connecting with', options.name);
139142

0 commit comments

Comments
 (0)