Skip to content

Update Validate Volume Capabilities to conform to CSI 1.6 Spec#404

Merged
sakshi-garg1 merged 2 commits into
mainfrom
fix_ValidateVolumeCapabilties_test
Jun 16, 2025
Merged

Update Validate Volume Capabilities to conform to CSI 1.6 Spec#404
sakshi-garg1 merged 2 commits into
mainfrom
fix_ValidateVolumeCapabilties_test

Conversation

@sakshi-garg1

@sakshi-garg1 sakshi-garg1 commented Jun 12, 2025

Copy link
Copy Markdown
Contributor

Description

This PR addresses the following CSI Spec test scenarios for Validate Volume Capabilities:

  • Controller Service ValidateVolumeCapabilities method should return appropriate values (no optional values added)

GitHub Issues

List the GitHub issues impacted by this PR:

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

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • 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

  • Ran csi-sanity test
image
  • Ran cert-csi test
    image

@sakshi-garg1 sakshi-garg1 self-assigned this Jun 12, 2025
@sakshi-garg1 sakshi-garg1 marked this pull request as ready for review June 13, 2025 07:25
@sakshi-garg1 sakshi-garg1 changed the title [WIP]:Update Validate Volume Capabilities to conform to CSI 1.6 Spec Update Validate Volume Capabilities to conform to CSI 1.6 Spec Jun 13, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/dell/csi-powerscale/service 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/dell/csi-powerscale/service/controller.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Comment thread service/controller.go
@sakshi-garg1 sakshi-garg1 merged commit 6698ba9 into main Jun 16, 2025
6 checks passed
@sakshi-garg1 sakshi-garg1 deleted the fix_ValidateVolumeCapabilties_test branch June 16, 2025 06:58
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.

3 participants