-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
migrate 6 auth test cases to common #3 #15320
migrate 6 auth test cases to common #3 #15320
Conversation
6 x 50+ line of code tests is also not reviewer friendly :( |
Overall note, the way you validate authorization errors is inconsistent. Sometimes you use Let's be consistent in this file. I would recommend using |
7b579e1
to
625512f
Compare
Signed-off-by: Chao Chen <[email protected]>
625512f
to
c36ea3f
Compare
Appreciate all the comments. They are resolved. PTAL again, 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.
Overall looks good to me.
If you want quick review and approval, please always try to keep each PR (or commit) as simple/small as possible.
Re-triggered the E2E tests to double check whether there are some flaky cases.
Related to the ask from #14041 to split tests into smaller pieces.
So code review will be reviewer friendly and easier to reason about.
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.