Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add volume readiness check and corresponding tests for CreateVolume #317

Merged
merged 4 commits into from
Aug 29, 2023

Conversation

sujeet01
Copy link
Contributor

@sujeet01 sujeet01 requested a review from a team as a code owner August 17, 2023 08:16
@github-actions github-actions bot added size/L enhancement New feature or request labels Aug 17, 2023
This commit introduces a new function, 'waitForVolumeAvailability', to the 'CreateVolume' function of our CSI driver. This function ensures that a volume reaches the 'Available' state before the 'CreateVolume' request is completed. To validate this functionality, corresponding tests have been added. This enhancement improves reliability and provides clearer error messages for debugging.
- Change the log message from "Volume applied and is now available" to "Applied volume" with additional information about the volume state.

Signed-off-by: Andreas Fritzler <[email protected]>
@afritzler afritzler merged commit 3b5ad66 into main Aug 29, 2023
7 checks passed
@afritzler afritzler deleted the enh/create-volume-readiness branch August 29, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wait until a Volume becomes ready before completing CreateVolume
2 participants