Skip to content

Commit cefa692

Browse files
huseyinacacak-janeaRafaelGSS
authored andcommitted
test: fix test-http2-socket-close.js
Fixes: #54819 PR-URL: #54900 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 9a07527 commit cefa692

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/parallel.status

-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ test-runner-watch-mode-complex: PASS, FLAKY
3030
test-async-context-frame: PASS, FLAKY
3131
# https://github.com/nodejs/node/issues/54534
3232
test-runner-run-watch: PASS, FLAKY
33-
# https://github.com/nodejs/node/issues/54819
34-
test-http2-socket-close: PASS, FLAKY
3533

3634
# Windows on x86
3735
[$system==win32 && $arch==ia32]

test/parallel/test-http2-socket-close.js

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ netServer.listen(0, common.mustCall(() => {
4242
rejectUnauthorized: false
4343
});
4444

45+
proxyClient.on('error', () => {});
4546
proxyClient.on('close', common.mustCall(() => {
4647
netServer.close();
4748
}));
@@ -51,6 +52,7 @@ netServer.listen(0, common.mustCall(() => {
5152
':path': '/'
5253
});
5354

55+
req.on('error', () => {});
5456
req.on('response', common.mustCall((response) => {
5557
assert.strictEqual(response[':status'], 200);
5658

0 commit comments

Comments
 (0)