[ 
https://issues.apache.org/jira/browse/STORM-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238098#comment-15238098
 ] 

ASF GitHub Bot commented on STORM-1646:
---------------------------------------

GitHub user ppoulosk opened 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

----


> Intermittent test failures in storm-kafka unit tests
> ----------------------------------------------------
>
>                 Key: STORM-1646
>                 URL: https://issues.apache.org/jira/browse/STORM-1646
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Paul Poulosky
>            Assignee: Paul Poulosky
>
> We have been seeing intermittent test failures in KafkaUtilsTest on slow 
> hardware and lightly resourced VMs, as well as an intermittent race condition 
> when running the storm-kafka ExponentialBackoffManager  unit test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to