Skip to content

Commit 3038b8e

Browse files
committed
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: #1200 PR-URL: #1201 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
1 parent dd37fb4 commit 3038b8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-tls-wrap-timeout.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ var server = tls.createServer(options, function(c) {
2121
setTimeout(function() {
2222
c.destroy();
2323
server.close();
24-
}, 75);
25-
}, 75);
24+
}, 150);
25+
}, 150);
2626
});
2727

2828
server.listen(common.PORT, function() {
2929
var socket = net.connect(common.PORT, function() {
30-
socket.setTimeout(120, assert.fail);
30+
socket.setTimeout(240, assert.fail);
3131

3232
var tsocket = tls.connect({
3333
socket: socket,

0 commit comments

Comments
 (0)