-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[FLINK-26928][connector/kafka] Remove unnecessary Docker network creation in tests #19282
Conversation
if (numBrokers > 1) { | ||
Network network = Network.newNetwork(); |
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.
I think a cleaner way to avoid 'ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network' is release the created network resources after used it.
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.
Thanks for the review @leonardBang ! Fixed in e4e1d24.
…tion in tests and close network on shutdown()
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.
Thanks @PatrickRen for the update, LGTM
…tion in tests and close network on shutdown() This closes apache#19282. (cherry picked from commit 47a1f32)
…tion in tests and close network on shutdown() This closes apache#19282.
…tion in tests and close network on shutdown() This closes apache#19282.
…tion in tests and close network on shutdown() This closes apache#19282.
What is the purpose of the change
This pull request removes unnecessary Docker network creation in Kafka connector tests.
Brief change log
Verifying this change
This change is already covered by existing Kafka connector tests.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes / no)Documentation