GitHub user ppoulosk reopened a pull request:

    https://github.com/apache/storm/pull/1335

    [STORM-1646] Fix Kafka unit tests

    This fixes two unit test failures in external/kafka I saw when running 
tests repeatedly, especially on low resource VMs.
    
    There was a race in the Exponential Backoff Manager that was fixed by 
switching the test to use simulated time.
    
    The Kafka Utils Test was seeing failures on underpowered systems due to a 
timeout value that was too small. Added log4j2 properties xml to be able to 
change the log level printed in the output. Also changed 
metadata.fetch.timeout.ms to max.block.ms, as kafka 0.9 had deprecated the 
config. The test output had warnings like
    
    39890 [main] WARN o.a.k.c.p.KafkaProducer - metadata.fetch.timeout.ms 
config is deprecated and will be removed soon. Please use max.block.ms


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

    $ git pull https://github.com/ppoulosk/storm FixKafkaUnitTests

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

    https://github.com/apache/storm/pull/1335.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 #1335
    
----
commit 38cf3f3d2f594023260efd853a2255306a0e6190
Author: Paul Poulosky <[email protected]>
Date:   2016-04-12T19:17:44Z

    Fix tests

commit c54e6c5a7c76ee38fcf7620359c17a0dc3caa034
Author: Paul Poulosky <[email protected]>
Date:   2016-04-29T14:22:41Z

    Change other occurrances of the deprecated setting

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to