-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
test: dynamic port in dgram bind shared ports #12620
test: dynamic port in dgram bind shared ports #12620
Conversation
Removed common.PORT from test-dgram-bind-shared-ports in order to eliminate the possibility of port collision with other tests. Refs: #12376
I have a bit of trouble understanding why this works. If I were to set the While |
That's probably because the key by which the handle is identified in the cluster is different: the first worker would use |
@santigimeno Thank you for the explanation! Now I get it :) |
Even if it's a corner case, I wonder if it should be handled correctly by the cluster module. /cc @bnoordhuis @cjihrig ? |
@santigimeno This is a long-standing issue and is why I did not bother "fixing" the cluster and some other tests when mass converting tests from See #7043, which was my attempt at trying to fix the |
@mscdex thanks for the info. I've been looking at #7043, and instead of redefining what binding to port |
Closing this since it was moved to sequential by this PR |
Removed common.PORT from test-dgram-bind-shared-ports in order to
eliminate the possibility of port collision with other tests.
Refs: #12376
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test