| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
I would have written this as:
const [minPort, maxPort] = [1024, 65535];
…
if (inspectPort > maxPort)
inspectPort = inpectPort - maxPort + minPort - 1;Not sure if others agree with me, though, so lets wait for further comments ;-)
Sorry, something went wrong.
There was a problem hiding this comment.
@ChALkeR looks a little bit more readable :)
Sorry, something went wrong.
|
@santigimeno hi! You have a little typo in the title "inpector" -> "inspector" |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM with nits addressed.
Sorry, something went wrong.
There was a problem hiding this comment.
I think I'd prefer to keep the existing assertion style instead of using a forEach(). It's much more readable IMO.
Sorry, something went wrong.
Make sure that inspector ports in cluster are inside the valid range: `[1024, 65535]`. Fix flaky `test-inspector-port-zero-cluster`. Fixes: nodejs#18303
|
Comments addressed. CI: https://ci.nodejs.org/job/node-test-pull-request/13249/ |
Sorry, something went wrong.
Make sure that inspector ports in cluster are inside the valid range: `[1024, 65535]`. Fixes flaky `test-inspector-port-zero-cluster`. PR-URL: nodejs#18696 Fixes: nodejs#18303 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Make sure that inspector ports in cluster are inside the valid range: `[1024, 65535]`. Fixes flaky `test-inspector-port-zero-cluster`. PR-URL: nodejs#18696 Fixes: nodejs#18303 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Make sure that inspector ports in cluster are inside the valid range: `[1024, 65535]`. Fixes flaky `test-inspector-port-zero-cluster`. PR-URL: nodejs#18696 Fixes: nodejs#18303 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
| Back | FazBrowse Home | New Git URL |
Make sure that inspector ports in cluster are inside the valid range:
[1024, 65535].
Fix flaky test-inspector-port-zero-cluster.
Fixes: #18303
Checklist
Affected core subsystem(s)