Skip to content

Commit

Permalink
test: fix test-net-connect-econnrefused
Browse files Browse the repository at this point in the history
test/pummel/test-net-connect-econnrefused.js was failing because
`console.log()` resulted in an extra handle being returned by
`process._getActiveHandles()`. Remove the unnecessary `console.log()`.

PR-URL: #25389
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and MylesBorins committed May 16, 2019
1 parent 771213a commit 05f9873
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/pummel/test-net-connect-econnrefused.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ let reqs = 0;
pummel();

function pummel() {
console.log('Round', rounds, '/', ROUNDS);

let pending;
for (pending = 0; pending < ATTEMPTS_PER_ROUND; pending++) {
net.createConnection(common.PORT).on('error', function(err) {
Expand Down

0 comments on commit 05f9873

Please sign in to comment.