test: verify sending net.Server via cluster
This test verifies that a net.Server
instance can be sent via cluster workers.
This adds a regression test for #15556 (closed).
Fixes: https://github.com/nodejs/node/issues/15556 Refs: https://github.com/nodejs/node/pull/14221
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test