Skip to content

Chore: fixed some unit tests#1048

Merged
nfx merged 2 commits intomainfrom
fix/leaky-test
Mar 12, 2024
Merged

Chore: fixed some unit tests#1048
nfx merged 2 commits intomainfrom
fix/leaky-test

Conversation

@nkvuong
Copy link
Copy Markdown
Contributor

@nkvuong nkvuong commented Mar 12, 2024

Changes

  • Fixed test_get_existing_installation_global which is leaky
  • Fixed test_jobs_assessment_with_spn_cluster_no_job_tasks which was wrong & previously skipped

Tests

  • manually tested
  • added unit tests

@nkvuong nkvuong requested review from a team and aminmovahed-db March 12, 2024 17:47
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.64%. Comparing base (0e1556b) to head (3b850c9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1048      +/-   ##
==========================================
- Coverage   88.65%   88.64%   -0.02%     
==========================================
  Files          52       52              
  Lines        6655     6655              
  Branches     1194     1194              
==========================================
- Hits         5900     5899       -1     
- Misses        498      500       +2     
+ Partials      257      256       -1     

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

Copy link
Copy Markdown
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

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

lgtm

@nfx nfx changed the title Fixed unit tests Chore: fixed some unit tests Mar 12, 2024
@nfx nfx merged commit 3e9331c into main Mar 12, 2024
@nfx nfx deleted the fix/leaky-test branch March 12, 2024 18:00
dmoore247 pushed a commit that referenced this pull request Mar 23, 2024
## Changes
- Fixed `test_get_existing_installation_global` which is leaky
- Fixed `test_jobs_assessment_with_spn_cluster_no_job_tasks` which was
wrong & previously skipped

### Tests
<!-- How is this tested? Please see the checklist below and also
describe any other relevant tests -->

- [x] manually tested
- [x] added unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants