-
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
test: dynamic port in dgram tests #12623
test: dynamic port in dgram tests #12623
Conversation
Removed common.PORT from test-dgram-close-in-listening, test-dgram-close-is-not-callback, test-dgram-close, test-dgram-exclusive-implicit-bind and test-dgram-oob-buffer in order to eliminate the possibility of port collision. Refs: #12376
I don't know if this is the most elegant solution. My reasoning was that if we actually send data on UDP we might as well send it to a port we own in that specific test. Or, if we need to send it to a closed port, to call Thoughts? |
Landed in d289678, thanks for the PR! |
Removed common.PORT from test-dgram-close-in-listening, test-dgram-close-is-not-callback, test-dgram-close, test-dgram-exclusive-implicit-bind and test-dgram-oob-buffer in order to eliminate the possibility of port collision. Refs: #12376 PR-URL: #12623 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Should this be backported to |
Removed common.PORT from test-dgram-close-in-listening, test-dgram-close-is-not-callback, test-dgram-close, test-dgram-exclusive-implicit-bind and test-dgram-oob-buffer in order to eliminate the possibility of port collision. Refs: #12376 PR-URL: #12623 Backport-PR-URL: #13792 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Looks good to me, thanks for doing it! |
Removed common.PORT from test-dgram-close-in-listening, test-dgram-close-is-not-callback, test-dgram-close, test-dgram-exclusive-implicit-bind and test-dgram-oob-buffer in order to eliminate the possibility of port collision. Refs: #12376 PR-URL: #12623 Backport-PR-URL: #13792 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Removed common.PORT from:
This is required in order to eliminate the possibility of port collision in parallel tests.
Refs: #12376
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test