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: nodejs#1200
  • Loading branch information
indutny committed Mar 19, 2015
1 parent dd37fb4 commit 6c5485c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-tls-wrap-timeout.js
Original file line number Diff line number Diff line change
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 6c5485c

Please sign in to comment.