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 committed Feb 22, 2016
1 parent 4bb529d commit bbf4621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -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]

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 bbf4621

Please sign in to comment.