From 6c5485cc5c078b530a8dbb50d4e04bb39fa2ec63 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Wed, 18 Mar 2015 20:15:06 -0700 Subject: [PATCH] test: double timeout in tls-wrap-timeout.js The test is timing dependent, ensure that it won't fail on the busy CI boxes. Fix: https://github.com/iojs/io.js/issues/1200 --- test/parallel/test-tls-wrap-timeout.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-tls-wrap-timeout.js b/test/parallel/test-tls-wrap-timeout.js index 5feb3d11056653..7bb5bb1b0dffb7 100644 --- a/test/parallel/test-tls-wrap-timeout.js +++ b/test/parallel/test-tls-wrap-timeout.js @@ -21,13 +21,13 @@ var server = tls.createServer(options, function(c) { setTimeout(function() { c.destroy(); server.close(); - }, 75); - }, 75); + }, 150); + }, 150); }); server.listen(common.PORT, function() { var socket = net.connect(common.PORT, function() { - socket.setTimeout(120, assert.fail); + socket.setTimeout(240, assert.fail); var tsocket = tls.connect({ socket: socket,