Skip to content

Commit

Permalink
test: add -no_rand_screen for tls-server-verify
Browse files Browse the repository at this point in the history
This improves the performance of openssl s_client on Windows and
gains several seconds to finish test-tls-server-verify.

Fixes: nodejs#1461
PR-URL: nodejs#1836
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
Shigeki Ohtsu authored and orangemocha committed Jun 3, 2015
1 parent 0ee497f commit 4ed25f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/parallel/test-tls-server-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ function runClient(prefix, port, options, cb) {

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

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

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

Expand Down

0 comments on commit 4ed25f6

Please sign in to comment.