From 8462d8f465dc9035e506e4725e87cf37d1e2d545 Mon Sep 17 00:00:00 2001 From: Brian White Date: Thu, 24 Mar 2016 18:05:48 -0400 Subject: [PATCH] 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 Reviewed-By: James M Snell --- test/parallel/test-net-socket-timeout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-net-socket-timeout.js b/test/parallel/test-net-socket-timeout.js index f15b20c023..7cae61d71b 100644 --- a/test/parallel/test-net-socket-timeout.js +++ b/test/parallel/test-net-socket-timeout.js @@ -41,7 +41,7 @@ server.listen(common.PORT, function() { }); var timer = setTimeout(function() { process.exit(1); - }, 200); + }, common.platformTimeout(200)); }); process.on('exit', function() {