Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: remove arbitrary 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.
  • Loading branch information
Trott committed Sep 1, 2017
commit 5dcbd7f78617486659c470a2a22222e35535058a
5 changes: 0 additions & 5 deletions test/parallel/test-tls-fast-writing.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ const server = tls.createServer(options, onconnection);
let gotChunk = false;
let gotDrain = false;

setTimeout(function() {
console.log('not ok - timed out');
process.exit(1);
}, common.platformTimeout(1000));

function onconnection(conn) {
conn.on('data', function(c) {
if (!gotChunk) {
Expand Down