Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3942

Change IntegrationTestUtils.purgeLocalStreamsState to use java.io.tmpdir

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.1.0
    • streams
    • None

    Description

      IntegrationTestUtils.purgeLocalStreamsState(...)

      currently only removes the folders if the path starts with /tmp. This should really use

      System.getProperty("java.io.tmpdir")

      Once this has been changed the tests using it should be able to simplify their

      StreamsConfig.STATE_DIR_CONFIG

      to

      TestUtils.tempDirectory().getPath()

      Attachments

        Issue Links

          Activity

            People

              damianguy Damian Guy
              damianguy Damian Guy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: