GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/3182
MINOR: Use `waitUntil` to fix transient failures of ControllerFailoverTest Without it, it's possible that the assertion is checked before the exception is thrown in the callback. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka fix-controller-failover-flakiness Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3182.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 #3182 ---- commit 705f5580ab22d3b3201113af38680bc7631b514f Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-31T18:23:51Z MINOR: Use `waitUntil` to fix transient failures of ControllerFailoverTest ---- --- 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. ---