-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
security/authorization: util function for converting CEL expression string #3822
Conversation
6f66927
to
e327604
Compare
e327604
to
2aca658
Compare
} { | ||
test := test | ||
t.Run(test.desc, func(t *testing.T) { | ||
t.Parallel() |
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.
Any specific reason to run these tests in parallel?
Do they run for long? Do they block on something, therefore running in parallel makes sense?
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.
No, I just saw the usage of t.Parallel
somewhere, and thought it might help speed up the tests.
I'll remove it since this is a small test.
@easwars Thanks a lot for the review! Merging now... |
This is a fork for #3805.
This PR aims to add a util function to convert a CEL expression string to the complied format(cel.CheckedExpr).