summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-server-verify.js
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-03 19:11:23 +0200
commit4ed25f664d8312b380befc5831353c0e5efe1bbe (patch)
tree44bfb1d0217ebdfcbe24f799734326fc0c4d8a2b /test/parallel/test-tls-server-verify.js
parent0ee497f0b45c9c97cb6a533d8effb87366706eb2 (diff)
downloadandroid-node-v8-4ed25f664d8312b380befc5831353c0e5efe1bbe.tar.gz
android-node-v8-4ed25f664d8312b380befc5831353c0e5efe1bbe.tar.bz2
android-node-v8-4ed25f664d8312b380befc5831353c0e5efe1bbe.zip
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: https://github.com/nodejs/io.js/issues/1461 PR-URL: https://github.com/nodejs/io.js/pull/1836 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/parallel/test-tls-server-verify.js')
-rw-r--r--test/parallel/test-tls-server-verify.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/parallel/test-tls-server-verify.js b/test/parallel/test-tls-server-verify.js
index 6ee8ac433e..387ede8abc 100644
--- a/test/parallel/test-tls-server-verify.js
+++ b/test/parallel/test-tls-server-verify.js
@@ -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);