GitHub user auradkar opened a pull request: https://github.com/apache/kafka/pull/160
KAFKA-2442: Fixing transiently failing test Made the following changes: 1. Made the quotas very small. (100 and 10 bytes/sec for producer and consumer respectively) 2. For the producer, I'm asserting the throttle_time with a timed loop using waitUntilTrue 3. For the consumer, I'm simply calling a timed poll in a loop until the server side throttle time metric returns true You can merge this pull request into a Git repository by running: $ git pull https://github.com/auradkar/kafka failing-test Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/160.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 #160 ---- commit cd60472049dee0f515d4fc3f87bc1d6bba1eb923 Author: Aditya Auradkar <aaurad...@linkedin.com> Date: 2015-08-21T21:21:51Z KAFKA-2442: Fixing transiently failing test ---- --- 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. ---