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

[fix][test] Fix resource leak in TransactionCoordinatorClientTest #21380

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Oct 17, 2023

Motivation

TransactionCoordinatorClientTest doesn't properly close all resources.

Modifications

Close transactionCoordinatorClient and stop bkEnsemble

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 3.2.0 milestone Oct 17, 2023
@lhotari lhotari self-assigned this Oct 17, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Oct 17, 2023
Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

Thank you!

@codecov-commenter
Copy link

Codecov Report

Merging #21380 (9fac74f) into master (e6cd11f) will increase coverage by 38.70%.
Report is 1 commits behind head on master.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #21380       +/-   ##
=============================================
+ Coverage     34.55%   73.25%   +38.70%     
- Complexity    12096    32558    +20462     
=============================================
  Files          1711     1888      +177     
  Lines        130647   140246     +9599     
  Branches      14236    15411     +1175     
=============================================
+ Hits          45142   102742    +57600     
+ Misses        79490    29426    -50064     
- Partials       6015     8078     +2063     
Flag Coverage Δ
inttests 24.18% <ø> (?)
systests 24.69% <ø> (-0.10%) ⬇️
unittests 72.55% <ø> (+40.66%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1468 files with indirect coverage changes

@lhotari lhotari merged commit cb7c98a into apache:master Oct 17, 2023
lhotari added a commit that referenced this pull request Apr 26, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request May 13, 2024
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants