summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-wrap-timeout.js
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2015-03-18 20:15:06 -0700
committerFedor Indutny <fedor@indutny.com>2015-03-18 21:47:03 -0700
commit3038b8ee6ac6d07cbec678c4f4ee29ae7b9f60ff (patch)
tree96a9c1fe38443906550ac404a69e06e0dcbdfe11 /test/parallel/test-tls-wrap-timeout.js
parentdd37fb4c48dce8fb11e9f83cbed9018b7119f1d4 (diff)
downloadnode-new-3038b8ee6ac6d07cbec678c4f4ee29ae7b9f60ff.tar.gz
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 PR-URL: https://github.com/iojs/io.js/pull/1201 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/parallel/test-tls-wrap-timeout.js')
-rw-r--r--test/parallel/test-tls-wrap-timeout.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-tls-wrap-timeout.js b/test/parallel/test-tls-wrap-timeout.js
index 5feb3d1105..7bb5bb1b0d 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,