Skip to content

Commit

Permalink
test: double timeout in tls-wrap-timeout.js
Browse files Browse the repository at this point in the history
The test is timing dependent, ensure that it won't fail on the busy CI
boxes.

Fix: #1200
PR-URL: #1201
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
  • Loading branch information
indutny committed Mar 19, 2015
1 parent dd37fb4 commit 3038b8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-tls-wrap-timeout.js
Expand Up @@ -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,
Expand Down

0 comments on commit 3038b8e

Please sign in to comment.