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

Jun Rao commented on KAFKA-1396:
--------------------------------

I suggest that we do the following.

1. Reduce the # iterations from 5 to 2 to reduce the execution time.

2. Wait for metadata propagation before start fetching.

3. There could be messages that get committed by the broker, but whose ack to 
the producer are lost, depending on when the brokers are bounced. So, the test 
needs to be more resilient. Perhaps we can make sure that 
uniqueProducedMessageSet is equal to or a subset of uniqueFetchedMessageSet.

> fix transient unit test ProducerFailureHandlingTest.testBrokerFailure
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-1396
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1396
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.2
>            Reporter: Jun Rao
>            Assignee: Guozhang Wang
>
> Currently disabled after kafka-1390.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to