[
https://issues.apache.org/jira/browse/KAFKA-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370398#comment-15370398
]
ASF GitHub Bot commented on KAFKA-3942:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/kafka/pull/1600
> Change IntegrationTestUtils.purgeLocalStreamsState to use java.io.tmpdir
> ------------------------------------------------------------------------
>
> Key: KAFKA-3942
> URL: https://issues.apache.org/jira/browse/KAFKA-3942
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Affects Versions: 0.10.1.0
> Reporter: Damian Guy
> Assignee: Damian Guy
> Priority: Trivial
> Fix For: 0.10.1.0
>
>
> {code}IntegrationTestUtils.purgeLocalStreamsState(...){code} currently only
> removes the folders if the path starts with /tmp. This should really use
> {code}System.getProperty("java.io.tmpdir"){code}
> Once this has been changed the tests using it should be able to simplify
> their {code}StreamsConfig.STATE_DIR_CONFIG{code} to
> {code}TestUtils.tempDirectory().getPath(){code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)