Skip to content

Commit fb0c5bc

Browse files
Trottevanlucas
authored andcommitted
test: fix flaky test-http-set-timeout
Increase timeout on Raspberry Pi to alleviate flakiness. Fixes: #5854 PR-URL: #5856 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 8344a52 commit fb0c5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-set-timeout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ server.listen(common.PORT, function() {
2020

2121
var errorTimer = setTimeout(function() {
2222
throw new Error('Timeout was not successful');
23-
}, 2000);
23+
}, common.platformTimeout(2000));
2424

2525
var x = http.get({port: common.PORT, path: '/'});
2626
x.on('error', function() {

0 commit comments

Comments
 (0)