-
Notifications
You must be signed in to change notification settings - Fork 73
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
Tests for feature toggles #1008
Tests for feature toggles #1008
Conversation
/retest |
/retest |
/retest |
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.
Looks great 👍
I have only one minor comment.
I was also wondering if we are planning to add more scenarios later:
- more features
- different weights
- different objects per feature
but I guess for now this is enough , since we are covered with the unit tests.
Co-authored-by: Matous Jobanek <[email protected]>
All these cases are covered by unit tests. We could have multiple features in e2e-tests too but having any weight which is not 0 or 100 would be quite tricky to test properly. So I just wanted to cover the mechanism of enabling and disabling a feature in the e2e-tests and leave all possible combinations to unit tests. |
@mfrancisc @MatousJobanek thank you for the review! I addressed or replied to all the comments. Please take another look when you have time. |
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.
It looks good, but please consider using the already existing generic Waiter type and its methods and expanding it if needed
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.
Nice! Just a couple minor comments
Co-authored-by: Rajiv Senthilnathan <[email protected]>
Quality Gate passedIssues Measures |
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.
Nice and clean 👍 🥇
Thanks 🚀
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.
Nice Job 👍
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.
Nice! 🚀
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexeykazakov, MatousJobanek, mfrancisc, rajivnathan 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 |
20debb4
into
codeready-toolchain:master
Paired with codeready-toolchain/member-operator#580