-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21174/#review42576
-----------------------------------------------------------



core/src/test/scala/integration/kafka/api/ProducerFailureHandlingTest.scala
<https://reviews.apache.org/r/21174/#comment76375>

    Should we do the assertion in line 280 here again?



core/src/test/scala/integration/kafka/api/ProducerFailureHandlingTest.scala
<https://reviews.apache.org/r/21174/#comment76376>

    Compilation error:
    
     found   : Int
     required: Option[Int]
        leader = TestUtils.waitUntilMetadataIsPropagated(servers, topic1, 
partition)
    



core/src/test/scala/unit/kafka/utils/TestUtils.scala
<https://reviews.apache.org/r/21174/#comment76377>

    Could we add the following comment to this method?
    
      /**
       * Wait until a valid leader is propagated to the metadata cache in each 
broker.
       * It assumes that the leader propagated to each broker is the same.
       * @param servers
       * @param topic
       * @param partition
       * @param timeout
       * @return The leader of the partition.
       */
    


- Jun Rao


On May 8, 2014, 10:57 p.m., Guozhang Wang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21174/
> -----------------------------------------------------------
> 
> (Updated May 8, 2014, 10:57 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1396
>     https://issues.apache.org/jira/browse/KAFKA-1396
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> Address Jun's comments
> 
> 
> Diffs
> -----
> 
>   core/src/test/scala/integration/kafka/api/ProducerFailureHandlingTest.scala 
> a993e8c7531abca6b82d1718ac57ba6a295c1fc7 
>   core/src/test/scala/integration/kafka/api/ProducerSendTest.scala 
> af11a4983599a20a33b6f1fc05738a59abfede63 
>   core/src/test/scala/unit/kafka/utils/TestUtils.scala 
> 034f36130a1d0669dda5ed53e9cee328806c811e 
> 
> Diff: https://reviews.apache.org/r/21174/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guozhang Wang
> 
>

Reply via email to