GitHub user gwenshap opened a pull request:

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

    MINOR: Fixed error in test by moving commit validation

    While looking at the failure here:
    
https://builds.apache.org/job/kafka-trunk-jdk7/ws/connect/runtime/build/reports/tests/classes/org.apache.kafka.connect.runtime.WorkerSourceTaskTest.html
    
    I noticed some stray errors of "Unexpected method call 
SourceTask.commit()", so I moved the location where we expect commits to inside 
the expectedFlush method since this is where the commit happens (on successful 
flush).


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

    $ git pull https://github.com/gwenshap/kafka sourcetask-test-fix

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

    https://github.com/apache/kafka/pull/994.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 #994
    
----
commit f0642eea6b67a41dfd2c107cdfcd8a3744ffdb33
Author: Gwen Shapira <csh...@gmail.com>
Date:   2016-03-02T06:12:44Z

    MINOR: Fixed error in test by moving commit validation

----


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