diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index dd7501a62ec204..24e1a74886bad5 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -30,8 +30,6 @@ test-runner-watch-mode-complex: PASS, FLAKY test-async-context-frame: PASS, FLAKY # https://github.com/nodejs/node/issues/54534 test-runner-run-watch: PASS, FLAKY -# https://github.com/nodejs/node/issues/54819 -test-http2-socket-close: PASS, FLAKY # Windows on x86 [$system==win32 && $arch==ia32] diff --git a/test/parallel/test-http2-socket-close.js b/test/parallel/test-http2-socket-close.js index 02db77bcf8480c..d88c10ae18e662 100644 --- a/test/parallel/test-http2-socket-close.js +++ b/test/parallel/test-http2-socket-close.js @@ -42,6 +42,7 @@ netServer.listen(0, common.mustCall(() => { rejectUnauthorized: false }); + proxyClient.on('error', () => {}); proxyClient.on('close', common.mustCall(() => { netServer.close(); })); @@ -51,6 +52,7 @@ netServer.listen(0, common.mustCall(() => { ':path': '/' }); + req.on('error', () => {}); req.on('response', common.mustCall((response) => { assert.strictEqual(response[':status'], 200);