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 21e9888

Browse filesBrowse files
apapirovskievanlucas
authored andcommitted
test: check session timeout in http2
Two instances of a similar test exist, with both testing the timeout on the stream and neither on the session. Adjust one of them to test the session timeout instead. PR-URL: #16754 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent be266bd commit 21e9888
Copy full SHA for 21e9888

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/sequential/test-http2-timeout-large-write-file.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-http2-timeout-large-write-file.js
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ server.on('stream', common.mustCall((stream) => {
4343
'Content-Length': content.length.toString(),
4444
'Vary': 'Accept-Encoding'
4545
});
46-
stream.setTimeout(serverTimeout);
47-
stream.on('timeout', () => {
48-
assert.strictEqual(didReceiveData, false, 'Should not timeout');
49-
});
5046
stream.end();
5147
}));
5248
server.setTimeout(serverTimeout);

0 commit comments

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