-
Notifications
You must be signed in to change notification settings - Fork 369
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 group snapshot controller unit tests #1118
Conversation
Skipping CI for Draft Pull Request. |
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.
I would suggest to add the test for create,delete, update in single file
Thank you, @yati1998, for having a look. |
expectSuccess: true, | ||
}, | ||
{ | ||
name: "6-3 - dynamic group snapshot have been deleted, retention policy set to delete - volume snapshot content will be deleted", |
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.
Add a test for pre-provisioned group snapshot?
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.
The test classification was not precise, I marked the pre-provisioned ones in a clearer way.
c8d5e10
to
6cdab61
Compare
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.
small nits, LGTM
6cdab61
to
56e110e
Compare
Thank you @Madhu-1! |
Signed-off-by: Leonardo Cecchi <[email protected]>
56e110e
to
3c2470c
Compare
Done @xing-yang, and thanks for the advice. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leonardoce, xing-yang 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?
What this PR does / why we need it:
Adds unit tests for the group snapshot controller.
Which issue(s) this PR fixes:
Fixes #1082
Special notes for your reviewer:
Does this PR introduce a user-facing change?: