From b545b4c1e99a27a9886bae4f37b3dda52a27b113 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 7 Jan 2019 23:30:59 -0800 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/25389 Reviewed-By: Beth Griggs Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- test/pummel/test-net-connect-econnrefused.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/pummel/test-net-connect-econnrefused.js b/test/pummel/test-net-connect-econnrefused.js index 4f9110172af8e3..e222f6c819eb1a 100644 --- a/test/pummel/test-net-connect-econnrefused.js +++ b/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) {