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 a41fd93

Browse filesBrowse files
mscdexevanlucas
authored andcommitted
test: fix flaky test-net-socket-timeout
Fixes: #5892 PR-URL: #5902 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 82a50d3 commit a41fd93
Copy full SHA for a41fd93

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-net-socket-timeout.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-net-socket-timeout.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ server.listen(common.PORT, function() {
4141
});
4242
var timer = setTimeout(function() {
4343
process.exit(1);
44-
}, 200);
44+
}, common.platformTimeout(200));
4545
});
4646

4747
process.on('exit', function() {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.