Set tiemout for test client to 5s

This commit is contained in:
Daniel García Aubert 2016-11-24 00:15:17 +01:00
parent 3268dcd43c
commit ce51fb8860

View File

@ -34,7 +34,7 @@ assert.response = function(server, req, res, callback) {
url: 'http://' + host + ':' + port + req.url,
method: req.method || 'GET',
headers: req.headers || {},
timeout: req.timeout || 3000,
timeout: req.timeout || 5000,
encoding: req.encoding || 'utf8'
};