Skip to content

Commit 0a79941

Browse files
committed
test: fixup Double TLS tests for 18.x
- APLN option is not supported on 18.x so remove Signed-off-by: Michael Dawson <[email protected]>
1 parent 1aeb9b9 commit 0a79941

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/parallel/test-double-tls-server.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ const serverReplaySize = 2 * 1024 * 1024;
3333
const subserver = tls.createServer({
3434
key: fixtures.readKey('agent1-key.pem'),
3535
cert: fixtures.readKey('agent1-cert.pem'),
36-
ALPNCallback: common.mustCall(({ sn, protocols }) => {
37-
// Once `subserver` receives `tlsClientHello` from the underlying net.Socket,
38-
// in this test, a TLSSocket actually, it should be able to proceed to the handshake
39-
// and emit this event
40-
assert.strictEqual(protocols[0], 'h2');
41-
return 'h2';
42-
}),
4336
});
4437

4538
const server = tls.createServer({

0 commit comments

Comments
 (0)