-
Notifications
You must be signed in to change notification settings - Fork 14.8k
KAFKA-19894: Reintroduce SaslPlainSslEndToEndAuthorizationTest #20915
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
Conversation
PR 17424 removed `SaslPlainSslEndToEndAuthorizationTest` along with `AclAuthorizer`. While there was a test within `SaslPlainSslEndToEndAuthorizationTest` which tested ZK ACLs, it *also* tested all the tests in its inheritance hierarchy. We should therefore re-introduce it as the suite lacks a test for `SASL/PLAIN` mechanism.
chia7712
left a comment
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
There was a discussion about deleting this class 😄
https://github.com/apache/kafka/pull/17424/files#r1799467146
|
Thanks for the review @chia7712! Can you confirm if this is eligible to be backported to 4.0 and 4.1 as well? |
we can safely backport this patch since it does not change any production code. Also, it improves the test coverage 😄 |
FrankYang0529
left a comment
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. Thanks for adding the test case back.
It looks like we were affected by the Cloudflare issue |
|
After looping the tests 20 times, all passed. proceeding with the merge |
…#20915) PR apache#17424 removed `SaslPlainSslEndToEndAuthorizationTest` along with `AclAuthorizer`. While there was a test within `SaslPlainSslEndToEndAuthorizationTest` which tested ZK ACLs, it *also* tested all the tests in its inheritance hierarchy. We should therefore re-introduce it as the suite lacks a test for `SASL/PLAIN` mechanism. Reviewers: Chia-Ping Tsai <[email protected]>, PoAn Yang <[email protected]>
PR #17424 removed `SaslPlainSslEndToEndAuthorizationTest` along with `AclAuthorizer`. While there was a test within `SaslPlainSslEndToEndAuthorizationTest` which tested ZK ACLs, it *also* tested all the tests in its inheritance hierarchy. We should therefore re-introduce it as the suite lacks a test for `SASL/PLAIN` mechanism. Reviewers: Chia-Ping Tsai <[email protected]>, PoAn Yang <[email protected]>
PR #17424 removed `SaslPlainSslEndToEndAuthorizationTest` along with `AclAuthorizer`. While there was a test within `SaslPlainSslEndToEndAuthorizationTest` which tested ZK ACLs, it *also* tested all the tests in its inheritance hierarchy. We should therefore re-introduce it as the suite lacks a test for `SASL/PLAIN` mechanism. Reviewers: Chia-Ping Tsai <[email protected]>, PoAn Yang <[email protected]>
PR #17424 removed
SaslPlainSslEndToEndAuthorizationTestalong withAclAuthorizer.While there was a test within
SaslPlainSslEndToEndAuthorizationTestwhich tested ZK ACLs, it also tested all the tests in its inheritance
hierarchy.
We should therefore re-introduce it as the suite lacks a test for
SASL/PLAINmechanism.Reviewers: Chia-Ping Tsai [email protected], PoAn Yang
[email protected]