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

ASF GitHub Bot commented on KAFKA-2718:
---------------------------------------

GitHub user rajinisivaram opened a pull request:

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

    KAFKA-2718: Avoid reusing temporary directories in core unit tests

    Retry to find new directory and cleanup on exit.

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

    $ git pull https://github.com/rajinisivaram/kafka KAFKA-2718

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

    https://github.com/apache/kafka/pull/399.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 #399
    
----
commit a56cc3fa9c0ccf2e1b3556d3e47d5dc36ae2c7b6
Author: Rajini Sivaram <rajinisiva...@googlemail.com>
Date:   2015-11-01T09:58:36Z

    KAFKA-2718: Avoid reusing temporary directories in core unit tests

----


> Reuse of temporary directories leading to transient unit test failures
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-2718
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2718
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>             Fix For: 0.9.0.0
>
>
> Stack traces in some of the transient unit test failures indicate that 
> temporary directories used for Zookeeper are being reused.
> {quote}
> kafka.common.TopicExistsException: Topic "topic" already exists.
>       at 
> kafka.admin.AdminUtils$.createOrUpdateTopicPartitionAssignmentPathInZK(AdminUtils.scala:253)
>       at kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:237)
>       at kafka.utils.TestUtils$.createTopic(TestUtils.scala:231)
>       at kafka.api.BaseConsumerTest.setUp(BaseConsumerTest.scala:63)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {quote}



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

Reply via email to