Skip to content

Commit

Permalink
test: fixup Double TLS tests for 18.x
Browse files Browse the repository at this point in the history
- APLN option is not supported on 18.x so remove

Signed-off-by: Michael Dawson <mdawson@devrus.com>
  • Loading branch information
mhdawson committed Aug 15, 2023
1 parent 1aeb9b9 commit 0a79941
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/parallel/test-double-tls-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ const serverReplaySize = 2 * 1024 * 1024;
const subserver = tls.createServer({
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem'),
ALPNCallback: common.mustCall(({ sn, protocols }) => {
// Once `subserver` receives `tlsClientHello` from the underlying net.Socket,
// in this test, a TLSSocket actually, it should be able to proceed to the handshake
// and emit this event
assert.strictEqual(protocols[0], 'h2');
return 'h2';
}),
});

const server = tls.createServer({
Expand Down

0 comments on commit 0a79941

Please sign in to comment.