diff --git a/test/parallel/test-http-end-throw-socket-handling.js b/test/parallel/test-http-end-throw-socket-handling.js index 204c0f73335480..a6debd07a13b10 100644 --- a/test/parallel/test-http-end-throw-socket-handling.js +++ b/test/parallel/test-http-end-throw-socket-handling.js @@ -30,11 +30,6 @@ server.listen(common.PORT, function() { } }); -setTimeout(function() { - process.removeListener('uncaughtException', catcher); - throw new Error('Taking too long!'); -}, common.platformTimeout(1000)).unref(); - process.on('uncaughtException', catcher); var errors = 0; function catcher() {