diff --git a/test/parallel/test-tls-autoselectfamily-servername.js b/test/parallel/test-tls-autoselectfamily-servername.js deleted file mode 100644 index f2b0f7b3499b85..00000000000000 --- a/test/parallel/test-tls-autoselectfamily-servername.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -const common = require('../common'); - -if (!common.hasCrypto) { - common.skip('missing crypto'); -} - -const { setDefaultAutoSelectFamilyAttemptTimeout } = require('net'); -const { connect } = require('tls'); - -// Some of the windows machines in the CI need more time to establish connection -setDefaultAutoSelectFamilyAttemptTimeout(common.platformTimeout(common.isWindows ? 1500 : 250)); - -// Test that TLS connecting works without autoSelectFamily -{ - const socket = connect({ - host: 'google.com', - port: 443, - servername: 'google.com', - autoSelectFamily: false, - }); - - socket.on('secureConnect', common.mustCall(() => socket.end())); -} - -// Test that TLS connecting works with autoSelectFamily -{ - const socket = connect({ - host: 'google.com', - port: 443, - servername: 'google.com', - autoSelectFamily: true, - }); - - socket.on('secureConnect', common.mustCall(() => socket.end())); -}