Skip to content

Added tests for migration package#439

Merged
tdawe merged 1 commit into
usr/spark/unit-test-improvementsfrom
usr/tdawe/migration-unit-tests
Feb 3, 2025
Merged

Added tests for migration package#439
tdawe merged 1 commit into
usr/spark/unit-test-improvementsfrom
usr/tdawe/migration-unit-tests

Conversation

@tdawe

@tdawe tdawe commented Feb 3, 2025

Copy link
Copy Markdown
Contributor

Description

This PR is targeting the usr/spark/unit-test-improvements branch and not main.

Added tests for migration package to increase coverage to 90.5%.

 # go test -cover -count 1  ./...
ok      github.com/dell/csi-powermax/v2/pkg/migration   0.032s  coverage: 90.5% of statements

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #

Checklist:

  • Have you run format,vet & lint checks against your submission?
  • Have you made sure that the code compiles?
  • Did you run the unit & integration tests successfully?
  • Have you maintained at least 90% code coverage?
  • Have you commented your code, particularly in hard-to-understand areas
  • Have you done corresponding changes to the documentation
  • Did you run tests in a real Kubernetes cluster?
  • Backward compatibility is not broken

How Has This Been Tested?

Ran unit tests for this package.

 # go test -cover -count 1  ./...
ok      github.com/dell/csi-powermax/v2/pkg/migration   0.032s  coverage: 90.5% of statements

@tdawe tdawe merged commit 9e46493 into usr/spark/unit-test-improvements Feb 3, 2025
@tdawe tdawe deleted the usr/tdawe/migration-unit-tests branch February 3, 2025 18:46
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