diff --git a/test/parallel/test-http-client-timeout-event.js b/test/parallel/test-http-client-timeout-event.js index c9d65941923408..aaa32e5b24d14d 100644 --- a/test/parallel/test-http-client-timeout-event.js +++ b/test/parallel/test-http-client-timeout-event.js @@ -33,8 +33,8 @@ server.listen(options.port, options.host, function() { setTimeout(function() { req.destroy(); assert.equal(timeout_events, 1); - }, 100); + }, common.platformTimeout(100)); setTimeout(function() { req.end(); - }, 50); + }, common.platformTimeout(50)); });