test: mitigate flaky test-http-agent
authorRich Trott <rtrott@gmail.com>
Sun, 21 Feb 2016 03:30:21 +0000 (19:30 -0800)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 19:57:57 +0000 (12:57 -0700)
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 <jasnell@gmail.com>
test/parallel/parallel.status
test/parallel/test-http-agent.js

index a40ca65..dc71ddb 100644 (file)
@@ -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]
index 09ba9c3..54094d1 100644 (file)
@@ -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++) {