Skip to content

Commit ec14721

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 a78a1c74c1b4bbd87a8607cad98d4115948b647a)
1 parent 258eaee commit ec14721

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

+3
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)