test: fix flaky test-http-set-timeout
Increase timeout on Raspberry Pi to alleviate flakiness. Fixes: https://github.com/nodejs/node/issues/5854 PR-URL: https://github.com/nodejs/node/pull/5856 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
c6656db352
commit
04ac1c0c07
@ -20,7 +20,7 @@ server.listen(common.PORT, function() {
|
||||
|
||||
var errorTimer = setTimeout(function() {
|
||||
throw new Error('Timeout was not successful');
|
||||
}, 2000);
|
||||
}, common.platformTimeout(2000));
|
||||
|
||||
var x = http.get({port: common.PORT, path: '/'});
|
||||
x.on('error', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user