Skip to content
Permalink
Browse files

test: fix test-net-connect-econnrefused

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 addaleax committed Jan 8, 2019
1 parent 0f290e8 commit b545b4c1e99a27a9886bae4f37b3dda52a27b113
Showing with 0 additions and 2 deletions.
  1. +0 −2 test/pummel/test-net-connect-econnrefused.js
@@ -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) {

0 comments on commit b545b4c

Please sign in to comment.
You can’t perform that action at this time.