cluster: fix inspector port assignment
Make sure that inspector ports in cluster are inside the valid range:
[1024, 65535]
.
Fix flaky test-inspector-port-zero-cluster
.
Fixes: https://github.com/nodejs/node/issues/18303
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