We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3c045a commit 71a8dc2Copy full SHA for 71a8dc2
test/parallel/test-tls-connect.js
@@ -35,7 +35,7 @@ const path = require('path');
35
const cert = fs.readFileSync(path.join(common.fixturesDir, 'test_cert.pem'));
36
const key = fs.readFileSync(path.join(common.fixturesDir, 'test_key.pem'));
37
38
- const options = { cert: cert, key: key, port: common.PORT };
+ const options = { cert: cert, key: key, port: 0 };
39
const conn = tls.connect(options, common.mustNotCall());
40
41
conn.on('error', common.mustCall());
@@ -49,7 +49,7 @@ const path = require('path');
49
const conn = tls.connect({
50
cert: cert,
51
key: key,
52
- port: common.PORT,
+ port: 0,
53
ciphers: 'rick-128-roll'
54
}, common.mustNotCall());
55
0 commit comments