Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fb0c5bc

Browse filesBrowse 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 <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 8344a52 commit fb0c5bc
Copy full SHA for fb0c5bc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-http-set-timeout.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.