mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: fix flaky test-net-socket-timeout
Fixes: https://github.com/nodejs/node/issues/5892 PR-URL: https://github.com/nodejs/node/pull/5902 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@ server.listen(common.PORT, function() {
|
||||
});
|
||||
var timer = setTimeout(function() {
|
||||
process.exit(1);
|
||||
}, 200);
|
||||
}, common.platformTimeout(200));
|
||||
});
|
||||
|
||||
process.on('exit', function() {
|
||||
|
||||
Reference in New Issue
Block a user