-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
#34302 add ipv6 square bracket support to launch_on_machine #34430
Conversation
Please rebase this branch to only have the relevant commit. |
@Keno sorry about that! branch rebased |
Going a bit further, since you're introducing the |
8b9bbb1 : Pushed the port validation to inside |
One simplifying comment but otherwise looks good! |
Ok. This is looking great. Now all you need is a NEWS entry! It should probably go in the standard library changes section under a "Distributed" subheading. |
This is good to go when CI passes. Whoever merges, please squash! |
stdlib/Distributed/test/managers.jl
Outdated
@@ -0,0 +1,19 @@ | |||
using Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test doesn't run unless it's added to runtests.jl
Did you mean to close this? We're so close to being done here... |
sorry!! I had done a reset and force push without thinking, I must have closed the issue then by accident. I restored my fork to the previous commit and added a change for runtests, but seem unable to click the "reopen pull request" on github. I opened a new PR here: #34494 |
I can't reopen it either. Guess you'll need to make a new PR. |
PR for #34302 to let launch_on_machine handle ipv6 address by adding support for the square bracket notation.
Note: this does not address the ipv6 socket related problems reported in the issue.
Testing:
I added a unit test julia file. It includes
managers.jl
directly and tests some simple use cases.127.0.0.1
,127.0.0.1:80
,[2001:db8::1]
,[2001:db8::1]:443
I also ran
$ ./julia stdlib/Distributed/test/runtests.jl
with no issues.