diff --git a/test/http2-alpn.js b/test/http2-alpn.js index 712a493cb3c..04b8cb6abd8 100644 --- a/test/http2-alpn.js +++ b/test/http2-alpn.js @@ -57,7 +57,8 @@ test('Should upgrade to HTTP/2 when HTTPS/1 is available for GET', async (t) => connect: { ca, servername: 'agent1' - } + }, + allowH2: true }) // close the client on teardown @@ -203,7 +204,8 @@ test('Should upgrade to HTTP/2 when HTTPS/1 is available for POST', async (t) => connect: { ca, servername: 'agent1' - } + }, + allowH2: true }) // close the client on teardown