Skip to content

Update unit test coverage across all packages#466

Merged
lukeatdell merged 36 commits into
mainfrom
usr/spark/unit-test-improvements
Feb 28, 2025
Merged

Update unit test coverage across all packages#466
lukeatdell merged 36 commits into
mainfrom
usr/spark/unit-test-improvements

Conversation

@tdawe

@tdawe tdawe commented Feb 25, 2025

Copy link
Copy Markdown
Contributor

Description

Update unit test coverage across all packages. All packages are finally over the 85% threshold.

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?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Ensured that all existing and new unit tests and PR checks are passing.
  • The Cert-CSI test suites run successfully for the images build with the above changes
    CertCSI_Tests.log

Note: The Snap suite, Replication suite and the Capacity Tracking Suite are failing which are failing against the nightly images as well and has not been introduced with these changes.
The defect https://jira.cec.lab.emc.com/browse/KRV-28221 has already been created for this previously. PR for the defect - #347 for which the solution has not been tested against Cert-CSI.

tdawe and others added 24 commits January 30, 2025 09:35
Updated/Added UT for several packages under reverseproxy/pkg
* refactor main and add unit tests
Co-authored-by: Lau, Luke <luke.lau1@dell.com>
Co-authored-by: Trevor Dawe <trevor.dawe@dell.com>
Co-authored-by: Pooja Kumar <pooja.prasannakumar@dell.com>
Co-authored-by: Luna Xu <ms.luna.xu@gmail.com>
Co-authored-by: Harshita Pandey <Harshita_Pandey@dell.com>
Co-authored-by: Bharath Sreekanth <bharath.sreekanth@emc.com>
Co-authored-by: lukeatdell <115811384+lukeatdell@users.noreply.github.com>
Co-authored-by: lukeatdell <115811384+lukeatdell@users.noreply.github.com>
Comment thread service/node_test.go
Comment thread service/node_test.go Outdated
Comment thread csireverseproxy/Makefile
donatwork
donatwork previously approved these changes Feb 27, 2025
Comment thread service/vsphere.go
Comment thread csireverseproxy/pkg/proxy/proxy.go
Comment thread service/node_connectivity_checker.go Outdated
falfaroc
falfaroc previously approved these changes Feb 27, 2025
Comment thread csireverseproxy/pkg/config/config.go Outdated
Comment thread service/Makefile
Comment thread service/features/node_publish_unpublish.feature
Comment thread service/migration_test.go
Comment thread service/node_connectivity_checker.go Outdated
alikdell
alikdell previously approved these changes Feb 27, 2025
@bharathsreekanth bharathsreekanth dismissed stale reviews from alikdell and falfaroc via e9d90b9 February 27, 2025 19:37

@donatwork donatwork left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@lukeatdell lukeatdell merged commit a41d7c8 into main Feb 28, 2025
@lukeatdell lukeatdell deleted the usr/spark/unit-test-improvements branch February 28, 2025 14:27
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.

8 participants