diff options
Diffstat (limited to 'test/parallel/test-http-agent-null.js')
-rw-r--r-- | test/parallel/test-http-agent-null.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-agent-null.js b/test/parallel/test-http-agent-null.js index 29961ff3a5..cb8cc9ab00 100644 --- a/test/parallel/test-http-agent-null.js +++ b/test/parallel/test-http-agent-null.js @@ -1,5 +1,5 @@ 'use strict'; -var common = require('../common'); +require('../common'); var assert = require('assert'); var http = require('http'); @@ -13,7 +13,7 @@ process.on('exit', function() { var server = http.createServer(function(req, res) { request++; res.end(); -}).listen(common.PORT, function() { +}).listen(0, function() { var options = { agent: null, port: this.address().port |