[ 
https://issues.apache.org/jira/browse/KAFKA-14934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726127#comment-17726127
 ] 

Owen C.H. Leung edited comment on KAFKA-14934 at 5/27/23 2:49 AM:
------------------------------------------------------------------

Hi [~mumrah] , I think it is already exposed ? 

https://github.com/apache/kafka/blob/trunk/core/src/test/java/kafka/testkit/KafkaClusterTestKit.java#L518-L524


was (Author: JIRAUSER300460):
Hi [~mumrah] , Can I give a try to this ? I'm new to contributing to kafka and 
want to get my hands dirty with it

> KafkaClusterTestKit makes FaultHandler accessible
> -------------------------------------------------
>
>                 Key: KAFKA-14934
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14934
>             Project: Kafka
>          Issue Type: Improvement
>          Components: unit tests
>            Reporter: David Arthur
>            Priority: Trivial
>              Labels: good-first-issue
>
> In KafkaClusterTestKit, we use a mock fault handler to avoid exiting the 
> process during tests. It would be useful to expose this fault handler so 
> tests could verify certain fault conditions (like a broker/controller failing 
> to start)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to