Skip to content

Commit a41fd93

Browse 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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-net-socket-timeout.js

Lines 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)