test: fix pummel/test-tls-session-timeout · nodejs/node@8ca7d56 · GitHub
Skip to content

Commit 8ca7d56

Browse files
Trotttargos
authored andcommitted
test: fix pummel/test-tls-session-timeout
The test does not work with TLS 1.3 nor should it. Force TLS version 1.2. While at it, some refactoring: * refresh the tmp directory in case it doesn't exist! * add an assert.strictEqual() check on the client return `code` value which must be zero * use arrow functions for callbacks * add trailing commas for multiline arrays/objects Fixes: #26839 PR-URL: #26865 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 41bd7a6 commit 8ca7d56

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

test/pummel/test-tls-session-timeout.js

Lines changed: 14 additions & 11 deletions

0 commit comments

Comments
 (0)