-
Notifications
You must be signed in to change notification settings - Fork 40.7k
Implement CSI e2e test for MutableCSINodeAllocatableCount #130942
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
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
860b87c
to
88a3c00
Compare
/test pull-kubernetes-e2e-kind-alpha-beta-features |
Exercised new test in pull-kubernetes-e2e-kind-alpha-beta-features:
cc: @gnufied |
/kind feature |
/assign @msau42 @xing-yang |
/assign |
So, now that I think of - this should be implemented in mock driver testsuite - https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/csimock and you don't probably have to make any changes in hostpath driver code at all, because you can implement hooks in https://github.com/kubernetes/kubernetes/blob/master/test/e2e/storage/csimock/csi_volume_expansion.go#L655 which will intercept The reason, we don't want this testsuite at top level is because, tbh - this will not work for any other provider other than hostpath. |
Thank you @gnufied, that makes sense. I'll take a closer look at the mock driver test suite and do the needful, that approach sounds more ideal. |
Lets merge this for now, we will have to refactor this with rest of the mock tests though. /lgtm |
LGTM label has been added. Git tree hash: 0a780607b01797586e91936fbc3cbd77c7398886
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gnufied, torredil The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
Test
What this PR does / why we need it:
This PR implements an e2e test for a new alpha storage feature
MutableCSINodeAllocatableCount
.Special notes for your reviewer:
Does this PR introduce a user-facing change?
Ran test locally: