Chia-Ping Tsai created KAFKA-21373:
--------------------------------------
Summary: Remove the sasl infra from UserQuotaTest
Key: KAFKA-21373
URL: https://issues.apache.org/jira/browse/KAFKA-21373
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
{{UserQuotaTest}} uses {{SaslSetup}} to generate the non-anonymous principal.
We could set up a custom principal builder to mock the principal and then
remove the sasl infra to speed up the test. The MiniKdc and SSL handshake cost
about 3.5 seconds per test method. For example,
{{testProducerConsumerOverrideUnthrottled}} drops from 5s to 1.3s.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)