Skip to content

Commit 8462d8f

Browse files
mscdexMyles Borins
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 6e2bfbe commit 8462d8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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
vartimer=setTimeout(function(){
4343
process.exit(1);
44-
},200);
44+
},common.platformTimeout(200));
4545
});
4646

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

0 commit comments

Comments
 (0)