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

ASF GitHub Bot commented on KAFKA-2667:
---------------------------------------

GitHub user ewencp opened a pull request:

    https://github.com/apache/kafka/pull/333

    KAFKA-2667: Fix transient error in KafkaBasedLogTest.

    The test required a specific sequence of events for each Consumer.poll() 
call,
    but the MockConsumer.waitForPollThen() method could not guarantee that,
    resulting in race conditions. Add support for scheduling sequences of events
    even when running in multi-threaded environments.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ewencp/kafka 
kafka-2667-kafka-based-log-transient-error

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/333.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #333
    
----
commit 988530556d60f68766e02d26998f3b86090fabb0
Author: Ewen Cheslack-Postava <m...@ewencp.org>
Date:   2015-10-20T07:49:47Z

    KAFKA-2667: Fix transient error in KafkaBasedLogTest.
    
    The test required a specific sequence of events for each Consumer.poll() 
call,
    but the MockConsumer.waitForPollThen() method could not guarantee that,
    resulting in race conditions. Add support for scheduling sequences of events
    even when running in multi-threaded environments.

----


> 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
>
> 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)

Reply via email to