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

Delete temporary data directory after unit test finishes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.2.0
    • None

    Description

      Today in unit testsuite most of the time when a test case is setup a temporary directory will be created with a random int as suffix, and will not be deleted after the test. After a few unit tests this will create tons of directories in java.io.tmpdir (/tmp for Linux). Would be better to remove them for clean unit tests.

      Attachments

        1. KAFKA-1258.patch
          0.6 kB
          Manikumar

        Activity

          People

            omkreddy Manikumar
            guozhang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: