From bbf46215489b15a79468ba26b233219bb6a3e41f 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 | 3 +-- test/parallel/test-http-agent.js | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index cbf5ef4c1377fb..2c50f2fca5e82f 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -11,9 +11,8 @@ test-tls-ticket-cluster : PASS,FLAKY test-tick-processor : PASS,FLAKY [$system==linux] -test-http-agent : PASS,FLAKY test-process-getactivehandles : PASS,FLAKY -test-tick-processor : 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 09ba9c34e2936d..54094d1a68a511 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++) {