test: deflake test-tls-sni-option
Might fix https://github.com/nodejs/node/issues/26910, though I haven't reproed the failure yet.
Basically, I pull next() out so that the testcase isn't complete until the client and server have finished. TLS1.2 and 1.3 complete on client and server in different orders, this might be an issue here.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines