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 c4b06b2

Browse filesBrowse files
TrottMylesBorins
authored andcommitted
test: remove random timer in test-tls-fast-writing
test-tls-fast-writing can fail on a heavily-loaded system due to an arbitrary 1-second timeout. Remove the arbitrary timeout. PR-URL: #15138 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 10a7035 commit c4b06b2
Copy full SHA for c4b06b2

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-tls-fast-writing.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-fast-writing.js
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ const server = tls.createServer(options, onconnection);
1616
let gotChunk = false;
1717
let gotDrain = false;
1818

19-
setTimeout(function() {
20-
console.log('not ok - timed out');
21-
process.exit(1);
22-
}, common.platformTimeout(1000));
23-
2419
function onconnection(conn) {
2520
conn.on('data', function(c) {
2621
if (!gotChunk) {

0 commit comments

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