Skip to content

Increase code coverage#81

Merged
donatwork merged 34 commits into
mainfrom
chore-code-coverage
Feb 19, 2025
Merged

Increase code coverage#81
donatwork merged 34 commits into
mainfrom
chore-code-coverage

Conversation

@AkshaySainiDell

@AkshaySainiDell AkshaySainiDell commented Jan 10, 2025

Copy link
Copy Markdown
Contributor

PR Submission checklist

Increases code coverage to the required levels per our standards. Unit tests were run. Cert-csi was used to run the provisioning and volume IO tests.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
https://github.com/dell/csm/issues/1559

Common PR Checklist:

  • Have you made sure that the code compiles?
  • Have you commented your code, particularly in hard-to-understand areas
  • Did you run tests in a real Kubernetes cluster?
  • Have you maintained backward compatibility

Description of your changes:

This PR increases the UT coverage

@KshitijaKakde KshitijaKakde force-pushed the chore-code-coverage branch 2 times, most recently from a8fa4c6 to 8506521 Compare January 27, 2025 04:38
@adarsh-dell adarsh-dell marked this pull request as ready for review February 11, 2025 11:34
@adarsh-dell adarsh-dell changed the title [WIP] Increase code coverage Increase code coverage Feb 11, 2025
anathoodell
anathoodell previously approved these changes Feb 11, 2025
donatwork
donatwork previously approved these changes Feb 12, 2025
@chimanjain

Copy link
Copy Markdown
Contributor

Can you run e2e with the changes as we are modifying go files also to make sure we are not introducing any breaking changes.

bpjain2004
bpjain2004 previously approved these changes Feb 12, 2025
@AkshaySainiDell

Copy link
Copy Markdown
Contributor Author

@chimanjain, the changes to the Go files primarily involve converting unexported variables to exported ones, which was necessary for writing the unit tests. No changes have been made to the functionality.

HarishH-DELL
HarishH-DELL previously approved these changes Feb 12, 2025
@chimanjain

Copy link
Copy Markdown
Contributor

Thanks @AkshaySainiDell for clarifying. LGTM

chimanjain
chimanjain previously approved these changes Feb 12, 2025
@HarishH-DELL HarishH-DELL self-requested a review February 12, 2025 12:59
@donatwork donatwork self-requested a review February 19, 2025 20:41
@donatwork donatwork merged commit 3d925b7 into main Feb 19, 2025
@donatwork donatwork deleted the chore-code-coverage branch February 19, 2025 20:43
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.