Skip to content

Commit edece30

Browse files
Trottjasnell
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 c26e93b commit edece30

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

-5
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ const server = tls.createServer(options, onconnection);
3737
let gotChunk = false;
3838
let gotDrain = false;
3939

40-
setTimeout(function() {
41-
console.log('not ok - timed out');
42-
process.exit(1);
43-
}, common.platformTimeout(1000));
44-
4540
function onconnection(conn) {
4641
conn.on('data', function(c) {
4742
if (!gotChunk) {

0 commit comments

Comments
 (0)