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 UT for pkg/discovery #6394

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

qiuming-best
Copy link
Contributor

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #(issue)
Fix #6254
Fix codespell check error

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2023

Codecov Report

Merging #6394 (e2bb5b3) into main (78025a0) will increase coverage by 0.37%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #6394      +/-   ##
==========================================
+ Coverage   49.88%   50.26%   +0.37%     
==========================================
  Files         227      228       +1     
  Lines       23376    23780     +404     
==========================================
+ Hits        11661    11952     +291     
- Misses      10836    10937     +101     
- Partials      879      891      +12     
Impacted Files Coverage Δ
pkg/uploader/types.go 100.00% <ø> (ø)
pkg/controller/data_upload_controller.go 66.21% <100.00%> (ø)
pkg/uploader/kopia/snapshot.go 79.71% <100.00%> (ø)
pkg/uploader/provider/kopia.go 85.03% <100.00%> (ø)
pkg/uploader/provider/provider.go 100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

@qiuming-best qiuming-best merged commit cace727 into vmware-tanzu:main Jun 15, 2023
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.

Improve the code coverage of pkg/discovery
4 participants