You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2015/12/08 22:48:10 UTC

[jira] [Commented] (KAFKA-2667) Copycat KafkaBasedLogTest.testSendAndReadToEnd transient failure

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

Jason Gustafson commented on KAFKA-2667:
----------------------------------------

[~ewencp] This test still fails 100% of the time on my machine. I looked it over and it seems that the failing assertion is depending on the order of the partitions returned in the ConsumerRecords iterator, but this doesn't seem appropriate since it's a HashMap. Mind if I submit a patch to allow for the partitions to be returned in any order?

> Copycat KafkaBasedLogTest.testSendAndReadToEnd transient failure
> ----------------------------------------------------------------
>
>                 Key: KAFKA-2667
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2667
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: copycat
>            Reporter: Jason Gustafson
>            Assignee: Ewen Cheslack-Postava
>             Fix For: 0.9.1.0
>
>
> Seen in recent builds:
> {code}
> org.apache.kafka.copycat.util.KafkaBasedLogTest > testSendAndReadToEnd FAILED
>     java.lang.AssertionError
>         at org.junit.Assert.fail(Assert.java:86)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.junit.Assert.assertTrue(Assert.java:52)
>         at org.apache.kafka.copycat.util.KafkaBasedLogTest.testSendAndReadToEnd(KafkaBasedLogTest.java:335)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)