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>
This commit is contained in:
parent
dd37fb4c48
commit
3038b8ee6a
@ -21,13 +21,13 @@ var server = tls.createServer(options, function(c) {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
c.destroy();
|
c.destroy();
|
||||||
server.close();
|
server.close();
|
||||||
}, 75);
|
}, 150);
|
||||||
}, 75);
|
}, 150);
|
||||||
});
|
});
|
||||||
|
|
||||||
server.listen(common.PORT, function() {
|
server.listen(common.PORT, function() {
|
||||||
var socket = net.connect(common.PORT, function() {
|
var socket = net.connect(common.PORT, function() {
|
||||||
socket.setTimeout(120, assert.fail);
|
socket.setTimeout(240, assert.fail);
|
||||||
|
|
||||||
var tsocket = tls.connect({
|
var tsocket = tls.connect({
|
||||||
socket: socket,
|
socket: socket,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user