You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/07/11 08:51:11 UTC
[jira] [Resolved] (KAFKA-3942) Change
IntegrationTestUtils.purgeLocalStreamsState to use java.io.tmpdir
[ https://issues.apache.org/jira/browse/KAFKA-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma resolved KAFKA-3942.
--------------------------------
Resolution: Fixed
Issue resolved by pull request 1600
[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)