Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f114e35

Browse filesBrowse files
lpincaBethGriggs
authored andcommitted
test: deflake http2-cancel-while-client-reading
Add missing `'error'` event handler. Fixes: #40610 PR-URL: #40659 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 48a785e commit f114e35
Copy full SHA for f114e35

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-http2-cancel-while-client-reading.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http2-cancel-while-client-reading.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ server.on('stream', common.mustCall(function(stream) {
2020
client_stream.pause();
2121
client_stream.close(http2.constants.NGHTTP2_CANCEL);
2222
});
23+
stream.on('error', () => {});
2324
}));
2425

2526
server.listen(0, function() {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.