summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@iij.ad.jp>2015-05-27 10:41:43 +0900
committerAlexis Campailla <alexis@janeasystems.com>2015-06-04 05:24:05 -0700
commit10349829f2f462e57cf7db2ef4c3a387d23e4826 (patch)
tree66707f228125d5f721ffb0ab7fab1215e6618afa
parentfa4aa347ebbe325e934bcda6f93a15e2e6524f1b (diff)
downloadnode-10349829f2f462e57cf7db2ef4c3a387d23e4826.tar.gz
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) Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/joyent/node/pull/25368
-rw-r--r--test/simple/test-tls-server-verify.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/simple/test-tls-server-verify.js b/test/simple/test-tls-server-verify.js
index aef24d7ae..b875a848b 100644
--- a/test/simple/test-tls-server-verify.js
+++ b/test/simple/test-tls-server-verify.js
@@ -150,6 +150,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);