-
Notifications
You must be signed in to change notification settings - Fork 201
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
feat(BDD): add positive and negative BDD for verifying PDB creation #1606
Conversation
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
limitations under the License. | ||
*/ | ||
|
||
package volume |
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.
package name should be updated
limitations under the License. | ||
*/ | ||
|
||
package volume |
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.
package name should be updated
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
I was not actively working on this PR. I will re-open when it is required |
Signed-off-by: mittachaitu sai.chaithanya@mayadata.io
What this PR does / why we need it:
This PR adds positive and negative BDD for PDB creations verifications. Test cases for PR: ##1573
Cmd To Run Negative Test:
Note: This must be run with
openebs/cvc-operator:inject-ci
Step1: cd tests/csi/cstor/volume/poddisruptionbudget
Step2: ginkgo -v -focus="\[csi\]\ \[cstor-negative\]" -- -kubeconfig=/home/sai/.kube/config -cstor-maxpools=3 -cstor-replicas=3 -cstor-pool-type=stripe
Cmd To Run Positive Test:
Step1: cd tests/csi/cstor/volume/poddisruptionbudget
Step2: ginkgo -v -focus="\[csi\]\ \[cstor\]" -- -kubeconfig=/home/sai/.kube/config -cstor-maxpools=3 -cstor-replicas=3 -cstor-pool-type=stripe
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Test cases covered in this PR:
Checklist:
documentation
tagbreaking-changes
tagrequires-upgrade
tag