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 thread leaks related to unclosed WebSocketService #21453

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Oct 27, 2023

Motivation

There are a few tests where threads are leaked since WebSocketService isn't closed.

Additional context

This type of issues can now be detected with #21450 improvements to CI.

Modifications

Close WebSocketService properly in tests.

Documentation

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

@lhotari lhotari added this to the 3.2.0 milestone Oct 27, 2023
@lhotari lhotari self-assigned this Oct 27, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Oct 27, 2023
@lhotari lhotari force-pushed the lh-fix-WebSocketService-closing branch from 94fcc76 to 09ef5f6 Compare October 27, 2023 05:36
@codecov-commenter
Copy link

codecov-commenter commented Oct 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.21%. Comparing base (2b5c199) to head (09ef5f6).
Report is 1093 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #21453      +/-   ##
============================================
- Coverage     73.31%   73.21%   -0.10%     
+ Complexity    32599    32565      -34     
============================================
  Files          1890     1890              
  Lines        140357   140357              
  Branches      15425    15425              
============================================
- Hits         102903   102765     -138     
- Misses        29361    29495     +134     
- Partials       8093     8097       +4     
Flag Coverage Δ
inttests 24.24% <ø> (+0.01%) ⬆️
systests 24.71% <ø> (-0.08%) ⬇️
unittests 72.50% <ø> (-0.09%) ⬇️

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

see 76 files with indirect coverage changes

@lhotari lhotari merged commit e55de39 into apache:master Oct 28, 2023
49 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs ready-to-test type/flaky-tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants