You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Muthuraj Ramalingakumar (Jira)" <ji...@apache.org> on 2023/12/20 03:44:00 UTC

[jira] [Created] (ZOOKEEPER-4780) Avoid creating temporary files in source directory.

Muthuraj Ramalingakumar created ZOOKEEPER-4780:
--------------------------------------------------

             Summary: Avoid creating temporary files in source directory.
                 Key: ZOOKEEPER-4780
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4780
             Project: ZooKeeper
          Issue Type: Test
            Reporter: Muthuraj Ramalingakumar


The zookeeper-server module has several unit tests which create temporary folders and files in the test directory. And has logic to delete the files after test run.

We can use the Junit TempDir annotation to handle tempfile/tempdir creation. And dont have to manage that in source code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)