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

Add unit tests for ipdevpoll worker euthanization #2599

Merged

Conversation

lunkwill42
Copy link
Member

Explicit coverage of the worker ping and euthanization methods did not exist. Instead, these methods would "accidentally" receive coverage in some test runs, and not at all in others. This would cause coverage stats to flip back and forth, and codecov.io would fail seemingly random PRs for decreasing coverage of these methods.

Fixes #2548

Explicit coverage of the worker ping and euthanization methods did
not exist.  Instead, these methods would "accidentally" receive
coverage in some test runs, and not at all in others.  This would cause
coverage stats to flip back and forth, and codecov.io would fail
seemingly random PRs for decreasing coverage of these methods.

Fixes Uninett#2548
@lunkwill42 lunkwill42 self-assigned this Mar 23, 2023
@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Merging #2599 (52e8756) into master (5f404c6) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2599      +/-   ##
==========================================
+ Coverage   54.18%   54.19%   +0.01%     
==========================================
  Files         558      558              
  Lines       40627    40627              
==========================================
+ Hits        22014    22019       +5     
+ Misses      18613    18608       -5     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

Test results

     12 files       12 suites   11m 28s ⏱️
3 233 tests 3 137 ✔️   96 💤 0
9 174 runs  8 886 ✔️ 288 💤 0

Results for commit 52e8756.

@lunkwill42 lunkwill42 marked this pull request as ready for review March 23, 2023 14:37
@lunkwill42 lunkwill42 merged commit 7d47aa7 into Uninett:master Mar 28, 2023
@lunkwill42 lunkwill42 deleted the test/ipdevpoll-process-pool-ping branch March 28, 2023 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explicitly test for ipdevpoll subprocess pool timeouts
2 participants