Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix flaky test-http-set-timeout
Increase timeout on Raspberry Pi to alleviate flakiness.

Fixes: #5854
  • Loading branch information
Trott committed Mar 23, 2016
commit 1fe65dde5cd7a1639a2537c048270e57db35dd2d
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