Skip to content

Commit

Permalink
test: fix flaky test-http-set-timeout
Browse files Browse the repository at this point in the history
Increase timeout on Raspberry Pi to alleviate flakiness.

Fixes: nodejs#5854
  • Loading branch information
Trott committed Mar 23, 2016
1 parent ec6af31 commit 1fe65dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-set-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 1fe65dd

Please sign in to comment.