Skip to content

Commit aad5045

Browse files
committed
use the max port # in newer versions of node
1 parent 0db1152 commit aad5045

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ module.exports = {
159159
killConnection: function (client) {
160160
// Change the connection option to a non existing one and destroy the stream
161161
client.connectionOption = {
162-
port: 999999,
162+
port: 65535,
163163
host: '127.0.0.1',
164164
family: 4
165165
};
166-
client.address = '127.0.0.1:999999';
166+
client.address = '127.0.0.1:65535';
167167
client.stream.destroy();
168168
}
169169
};

0 commit comments

Comments
 (0)