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 <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Trott authored and addaleax committed Jan 14, 2019
1 parent 0f290e8 commit b545b4c
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 b545b4c

Please sign in to comment.