From cc1aab9f6a3474cf1f76234f15b179374f22d655 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 28 Mar 2016 14:35:06 -0700 Subject: [PATCH] test: mitigate flaky test-https-agent Reduce number of clients from 100 to 16 as Raspberry Pi in CI starts to exhibit flakiness around 22 or so clients. PR-URL: https://github.com/nodejs/node/pull/5939 Fixes: https://github.com/nodejs/node/issues/5938 Refs: https://github.com/nodejs/node/issues/5184 Reviewed-By: Colin Ihrig Reviewed-By: Jeremiah Senkpiel --- test/parallel/test-https-agent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-https-agent.js b/test/parallel/test-https-agent.js index a3bb28975a..9dea313e42 100644 --- a/test/parallel/test-https-agent.js +++ b/test/parallel/test-https-agent.js @@ -23,8 +23,8 @@ var server = https.Server(options, function(req, res) { var responses = 0; -var N = 10; -var M = 10; +var N = 4; +var M = 4; server.listen(common.PORT, function() { for (var i = 0; i < N; i++) {