Skip to content

Commit c4b06b2

Browse 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 <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 10a7035 commit c4b06b2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines 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)