diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index f47a42b7a4ccc2..43db3e8926c890 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 ARM [$system==win32 && $arch==arm64] 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);