Investigate flaky parallel/test-tls-passphrase on OS X

test.parallel/test-tls-passphrase failed on an unrelated PR, https://ci.nodejs.org/job/node-test-commit-osx/nodes=osx1011/27279/

It's possible its related the race conditions in tests that are being exposed by TLS1.3 packet order being different from TLS1.2, it needs some looking into.

events.js:177
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:183:27)
Emitted 'error' event at:
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:9) {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
  • Version:
  • Platform:
  • Subsystem: