You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Damian Guy (JIRA)" <ji...@apache.org> on 2016/07/09 08:53:10 UTC

[jira] [Created] (KAFKA-3942) Change IntegrationTestUtils.purgeLocalStreamsState to use java.io.tmpdir

Damian Guy created KAFKA-3942:
---------------------------------

             Summary: 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)