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
Export Azure Fake Cloud for reusing #88319
Conversation
@ZeroMagic: The label(s) In response to this:
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/test-infra repository. |
/priority important-soon |
@@ -991,3 +998,54 @@ func (f *fakeVMSet) GetDataDisks(nodeName types.NodeName, crt azcache.AzureCache | |||
func (f *fakeVMSet) GetPowerStatusByNodeName(name string) (string, error) { | |||
return "", fmt.Errorf("unimplemented") | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe could add a comment here: why make this func public
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/priority important-soon |
|
/pony |
In response to this:
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/test-infra repository. |
a67f387
to
7fd0193
Compare
/test pull-kubernetes-verify |
Via the exported GetTestCloud(), we can reuse the code for the unit tests in Azure related CSI drivers. Signed-off-by: ZeroMagic <anthonyliu@zju.edu.cn>
7fd0193
to
e2c733a
Compare
/retest |
/test pull-kubernetes-e2e-kind |
1 similar comment
/test pull-kubernetes-e2e-kind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, ZeroMagic 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 |
/retest Review the full test history for this PR. Silence the bot with an |
2 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind flake
What this PR does / why we need it:
Via the exported GetTestCloud(), we can reuse the code for the unit tests in Azure related CSI drivers' repo.
Which issue(s) this PR fixes:
Fixes #88298
Special notes for your reviewer:
NONE
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig cloud-provider
/area provider/azure