From 3038b8ee6ac6d07cbec678c4f4ee29ae7b9f60ff 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 PR-URL: https://github.com/iojs/io.js/pull/1201 Reviewed-By: Johan Bergström --- 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 5feb3d1..7bb5bb1 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, -- 2.7.4