From aad5045c8e545386e8a54fa371345f41cf399f6b Mon Sep 17 00:00:00 2001 From: bcoe Date: Sat, 3 Oct 2015 21:13:18 -0700 Subject: [PATCH] use the max port # in newer versions of node --- test/helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helper.js b/test/helper.js index b92f3d5e1b..d007676ea6 100644 --- a/test/helper.js +++ b/test/helper.js @@ -159,11 +159,11 @@ module.exports = { killConnection: function (client) { // Change the connection option to a non existing one and destroy the stream client.connectionOption = { - port: 999999, + port: 65535, host: '127.0.0.1', family: 4 }; - client.address = '127.0.0.1:999999'; + client.address = '127.0.0.1:65535'; client.stream.destroy(); } };