Skip to content
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] Close PubSubBrokerWrapper in TestActiveActiveIngestion #842

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

lluwm
Copy link
Contributor

@lluwm lluwm commented Feb 1, 2024

I noticed some KafkaBrokerWrapper leaks were reported when running the integration test in our internal CI. This is a trivial PR to fix these leaks by simply moving them into a try-with-resource block. This is no meaningful changes otherwise.

How was this PR tested?

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

I noticed some KafkaBrokerWrapper leasks were reported when running the integration test in our internal CI.
This is a simple fix for these leaks by moving them into a try-with-resource block.
Copy link
Contributor

@FelixGV FelixGV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

@lluwm lluwm merged commit 25874b6 into linkedin:main Feb 1, 2024
32 checks passed
@lluwm lluwm deleted the fix_PubSubBrokerWrapper_leaks branch February 1, 2024 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants