Skip to content

Commit

Permalink
test: mitigate flaky test-http-agent
Browse files Browse the repository at this point in the history
Reduce number of clients from 100 to 16 as Raspberry Pi in CI starts to
exhibit flakiness around 22 or so clients.

Fixes: #5184
PR-URL: #5346
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and Myles Borins committed Mar 21, 2016
1 parent f242e62 commit c86902d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-http-agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit c86902d

Please sign in to comment.