diff --git a/test/parallel/test-http2-connect.js b/test/parallel/test-http2-connect.js index 9ee2e4347f600b..9b4055373f25bd 100644 --- a/test/parallel/test-http2-connect.js +++ b/test/parallel/test-http2-connect.js @@ -95,6 +95,7 @@ const { connect: tlsConnect } = require('tls'); }; const clientOptions = { + ALPNProtocols: ['h2'], port, rejectUnauthorized: false };