Skip to content

[fix][test] Fix resource leak in PulsarServiceTest#21386

Merged
lhotari merged 1 commit intoapache:masterfrom
lhotari:lh-fix-PulsarServiceTest-leak
Oct 18, 2023
Merged

[fix][test] Fix resource leak in PulsarServiceTest#21386
lhotari merged 1 commit intoapache:masterfrom
lhotari:lh-fix-PulsarServiceTest-leak

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented Oct 17, 2023

Motivation

PulsarServiceTest leaks 141 threads currently.

Modifications

Properly close resources in the test.

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
@codecov-commenter
Copy link

Codecov Report

Merging #21386 (8113eba) into master (e6cd11f) will increase coverage by 38.72%.
Report is 2 commits behind head on master.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #21386       +/-   ##
=============================================
+ Coverage     34.55%   73.27%   +38.72%     
- Complexity    12096    32576    +20480     
=============================================
  Files          1711     1888      +177     
  Lines        130647   140246     +9599     
  Branches      14236    15411     +1175     
=============================================
+ Hits          45142   102772    +57630     
+ Misses        79490    29404    -50086     
- Partials       6015     8070     +2055     
Flag Coverage Δ
inttests 24.29% <ø> (?)
systests 24.70% <ø> (-0.10%) ⬇️
unittests 72.58% <ø> (+40.68%) ⬆️

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 de8f543 into apache:master Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments