diff --git a/test/app.listen.js b/test/app.listen.js index 0eec582e69..5b150063b9 100644 --- a/test/app.listen.js +++ b/test/app.listen.js @@ -6,7 +6,7 @@ describe('app.listen()', function(){ it('should wrap with an HTTP server', function(done){ var app = express(); - var server = app.listen(9999, function(){ + var server = app.listen(0, function () { server.close(done) }); })