From c86902d80029b299e6941ae6e53d89261790bad1 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 20 Feb 2016 19:30:21 -0800 Subject: [PATCH] test: mitigate flaky test-http-agent Reduce number of clients from 100 to 16 as Raspberry Pi in CI starts to exhibit flakiness around 22 or so clients. Fixes: https://github.com/nodejs/node/issues/5184 PR-URL: https://github.com/nodejs/node/pull/5346 Reviewed-By: James M Snell --- test/parallel/parallel.status | 1 - test/parallel/test-http-agent.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index a40ca65827..dc71ddb361 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -10,7 +10,6 @@ prefix parallel test-tick-processor : PASS,FLAKY [$system==linux] -test-http-agent : PASS,FLAKY test-tick-processor : PASS,FLAKY [$system==macos] diff --git a/test/parallel/test-http-agent.js b/test/parallel/test-http-agent.js index 09ba9c34e2..54094d1a68 100644 --- a/test/parallel/test-http-agent.js +++ b/test/parallel/test-http-agent.js @@ -9,8 +9,8 @@ var server = http.Server(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++) {