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: #5854
PR-URL: #5856
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott committed Mar 24, 2016
1 parent c6656db commit 04ac1c0
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 04ac1c0

Please sign in to comment.