From 586e160a258336663bdf7f063aae9602fe9e1dc9 Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 26 Feb 2013 17:54:18 -0800 Subject: [PATCH] test: Use common.PORT in simple/test-http-timeout --- test/simple/test-http-timeout.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/simple/test-http-timeout.js b/test/simple/test-http-timeout.js index c68a465f3..ddd01c8a8 100644 --- a/test/simple/test-http-timeout.js +++ b/test/simple/test-http-timeout.js @@ -25,7 +25,8 @@ var assert = require('assert'); var http = require('http'); -var port = 12345; +var port = common.PORT; + var server = http.createServer(function(req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('OK'); -- 2.34.1