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

CP-48196: Add a unit-test for dump_xapi_subprocess_info() #85

Conversation

bernhardkaindl
Copy link
Collaborator

@bernhardkaindl bernhardkaindl commented Feb 21, 2024

Add a unit-test for dump_xapi_subprocess_info() which covers all lines of the function:

https://app.codecov.io/gh/xenserver/status-report/pull/85/indirect-changes

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.09%. Comparing base (d0e569d) to head (c258113).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
+ Coverage   88.29%   90.09%   +1.79%     
==========================================
  Files          18       19       +1     
  Lines        2196     2210      +14     
==========================================
+ Hits         1939     1991      +52     
+ Misses        257      219      -38     
Flag Coverage Δ
python2.7 88.67% <100.00%> (+1.81%) ⬆️
python3.10.13 89.71% <100.00%> (+1.93%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coveralls
Copy link

coveralls commented Feb 21, 2024

Pull Request Test Coverage Report for Build 8061800114

Details

  • 0 of 18 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.7%) to 92.463%

Totals Coverage Status
Change from base Build 8053054574: 1.7%
Covered Lines: 2110
Relevant Lines: 2282

💛 - Coveralls

GeraldEV
GeraldEV previously approved these changes Feb 26, 2024
@bernhardkaindl bernhardkaindl changed the title Add a unit-test for dump_xapi_subprocess_info() CP-46136: Add a unit-test for dump_xapi_subprocess_info() Feb 26, 2024
@bernhardkaindl bernhardkaindl changed the title CP-46136: Add a unit-test for dump_xapi_subprocess_info() CP-48196: Add a unit-test for dump_xapi_subprocess_info() Feb 26, 2024
ashwin9390
ashwin9390 previously approved these changes Feb 27, 2024
Copy link
Collaborator Author

@bernhardkaindl bernhardkaindl left a comment

Choose a reason for hiding this comment

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

I had to resolve the conflicts with master to make it mergable again:

Merged / Conflicts with master resolved.

@bernhardkaindl bernhardkaindl merged commit bd7e5df into xenserver:master Mar 11, 2024
5 checks passed
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