Skip to content

test: rework ephemeralkeyinfo to run in parallel

Remove:

  • use of tls global so tests can run in parallel
  • test counting in favour of common.mustCall()
  • limit of only one cipher suite per ephemeral key type tested

The last change will allow adding TLS 1.3 cipher suites and testing 'ECDH' key info with them.

/cc @nodejs/crypto

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading