vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.45k stars 1.37k forks source link

Add more UT for the CSI plugins. #7661

Closed blackpiglet closed 3 months ago

blackpiglet commented 3 months ago

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 91.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 63.35%. Comparing base (c888f51) to head (d3cc42d).

Files Patch % Lines
pkg/restore/actions/csi/volumesnapshot_action.go 90.00% 1 Missing :warning:
pkg/util/csi/volume_snapshot.go 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7661 +/- ## ========================================== + Coverage 61.29% 63.35% +2.06% ========================================== Files 276 278 +2 Lines 31490 24952 -6538 ========================================== - Hits 19301 15808 -3493 + Misses 10830 7767 -3063 - Partials 1359 1377 +18 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.