Skip to content

Commit 4ed25f6

Browse files
Shigeki Ohtsuorangemocha
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. Fixes: #1461 PR-URL: #1836 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 0ee497f commit 4ed25f6

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)