test: dynamic port in dgram bind shared ports#12620
test: dynamic port in dgram bind shared ports#12620sebastianplesciuc wants to merge 1 commit intonodejs:masterfrom sebastianplesciuc:common-port-dgram-bind-shared
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