[
https://issues.apache.org/jira/browse/CASSANDRA-18750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754109#comment-17754109
]
Maxim Muzafarov commented on CASSANDRA-18750:
---------------------------------------------
When I'm trying to debug a piece of code I've come across, it's more convenient
to have the temporary test files under a project's root directory, so I can to
see them all (and check the contents) right from the IDE I'm using during
debugging.
I looked for a good candidate for this directory and found the {{data}} is
already set for the [IntelliJ workspace
config|https://github.com/apache/cassandra/blob/trunk/ide/idea/workspace.xml#L12]
and is also included into the
[gitignore|https://github.com/apache/cassandra/blob/trunk/.gitignore#L9], but
it is not cleared by the ant. Randomization is still required for unit tests,
so I think ./data/\{$random}/ is a good choice.
> Make unit tests compatible with the tmp.dir property
> ----------------------------------------------------
>
> Key: CASSANDRA-18750
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18750
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Derek Chen-Becker
> Assignee: Derek Chen-Becker
> Priority: Normal
>
> Several unit tests hard-code file paths under the "/tmp" directory, which
> means they do not honor the {{tmp.dir}} ant build property. These should be
> updated so that when the user specifies {{tmp.dir}}, they can be certain that
> any files or directories created by the unit tests will be in their specified
> location.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]