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 <jasnell@gmail.com>
pull/5346/merge
Rich Trott 2016-02-20 19:30:21 -08:00
parent 4bb529d972
commit bbf4621548
2 changed files with 3 additions and 4 deletions

View File

@ -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]

View 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++) {