From f548433195ba08e77ba93640382f474c17a13ecf Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 9 Aug 2013 07:33:18 +0200 Subject: [PATCH] test: use common.PORT in simple/test-net-GH-5504 --- test/simple/test-net-GH-5504.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/simple/test-net-GH-5504.js b/test/simple/test-net-GH-5504.js index d5059f02864..08aceb89aac 100644 --- a/test/simple/test-net-GH-5504.js +++ b/test/simple/test-net-GH-5504.js @@ -51,7 +51,7 @@ function server() { console.error('_socketEnd'); }); socket.write(content); - }).listen(3000, function() { + }).listen(common.PORT, function() { console.log('listening'); }); } @@ -60,7 +60,7 @@ function client() { var net = require('net'); var client = net.connect({ host: 'localhost', - port: 3000 + port: common.PORT }, function() { client.destroy(); });