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 <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>
This commit is contained in:
parent
0a11f1b6a6
commit
b2f74f73f3
@ -34,8 +34,6 @@ let reqs = 0;
|
|||||||
pummel();
|
pummel();
|
||||||
|
|
||||||
function pummel() {
|
function pummel() {
|
||||||
console.log('Round', rounds, '/', ROUNDS);
|
|
||||||
|
|
||||||
let pending;
|
let pending;
|
||||||
for (pending = 0; pending < ATTEMPTS_PER_ROUND; pending++) {
|
for (pending = 0; pending < ATTEMPTS_PER_ROUND; pending++) {
|
||||||
net.createConnection(common.PORT).on('error', function(err) {
|
net.createConnection(common.PORT).on('error', function(err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user