-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a test to ensure that cluster properly interoperates with the --{inspect,debug}-brk options #11420
Comments
Hi, I would like to give it a try. I have never contributed to any project before. |
@lovepreetkaul Great, go for it! Contributing guidelines are here, if you follow them carefully you shouldn't have a problem with the GitHub side of things. If you need any help then feel free to comment on here. |
I'd be happy to help answer any questions. My suggestion would be to look into understanding how the existing test that verifies that The complication that |
@lovepreetkaul are working this issue? I would like to give it a try if no-one is working on this. |
@dave-k yes please go ahead. |
I have read and understand how the existing tests work, but need some help with your suggestion. |
@dave-k Thanks for looking into this. I suspect that it might not be necessary to cause the child to continue for the purposes of this test. I think what we need to ensure is that the child started on the correct port – which we can detect based on the |
I have a test for the
|
What are the next steps with this issue? |
Hi @dave-k. I missed your last message, sorry. A test just for clustered |
I think the outcome of #12364 was that we should probably re-add |
OK I'll remove the test for |
Ensure that cluster interoperates with the --inspect-brk option. This does not test for —debug-brk. Fixes: nodejs#11420
Ensure that cluster interoperates with the --inspect-brk option. This does not test for --debug-brk. Fixes: #11420 PR-URL: #12503 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Ensure that cluster interoperates with the --inspect-brk option. This does not test for --debug-brk. Fixes: #11420 PR-URL: #12503 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
When started with any of the
--inspect*
or--debug*
options, the cluster module is supposed to provide a unique port to the child processes. The existing test for this functionality seems to lack ability to test the--inspect-brk
and--debug-brk
flags.It would be good to add a test (or modify the existing test) to be add this capability.
See: #11386 (comment).
The text was updated successfully, but these errors were encountered: