From 6ec8eb161621d081a441dca8fc0976ced54cdf81 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 1 Sep 2017 13:02:50 -0700 Subject: [PATCH] test: remove random timer in test-tls-fast-writing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test-tls-fast-writing can fail on a heavily-loaded system due to an arbitrary 1-second timeout. Remove the arbitrary timeout. PR-URL: https://github.com/nodejs/node/pull/15138 Reviewed-By: Anna Henningsen Reviewed-By: Refael Ackermann Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: Michaƫl Zasso Reviewed-By: James M Snell --- test/parallel/test-tls-fast-writing.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/parallel/test-tls-fast-writing.js b/test/parallel/test-tls-fast-writing.js index b8605ca00b..c91c660851 100644 --- a/test/parallel/test-tls-fast-writing.js +++ b/test/parallel/test-tls-fast-writing.js @@ -16,11 +16,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) {