Set tiemout for test client to 5s
This commit is contained in:
parent
3268dcd43c
commit
ce51fb8860
@ -34,7 +34,7 @@ assert.response = function(server, req, res, callback) {
|
|||||||
url: 'http://' + host + ':' + port + req.url,
|
url: 'http://' + host + ':' + port + req.url,
|
||||||
method: req.method || 'GET',
|
method: req.method || 'GET',
|
||||||
headers: req.headers || {},
|
headers: req.headers || {},
|
||||||
timeout: req.timeout || 3000,
|
timeout: req.timeout || 5000,
|
||||||
encoding: req.encoding || 'utf8'
|
encoding: req.encoding || 'utf8'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user