From ec147211e437fa5f10683daf7583169acbe6ca45 Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Wed, 27 May 2015 10:41:43 +0900 Subject: [PATCH] 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) --- test/parallel/test-tls-server-verify.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/parallel/test-tls-server-verify.js b/test/parallel/test-tls-server-verify.js index ad8de857b5ea9c..a41f1a4e49b2d9 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);