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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to