[ 
https://issues.apache.org/jira/browse/CALCITE-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567784#comment-16567784
 ] 

Andrei Sereda commented on CALCITE-2442:
----------------------------------------

Seems like 
[WindowsFailedSnapshotTracker|https://github.com/apache/cassandra/blob/HEAD/src/java/org/apache/cassandra/db/WindowsFailedSnapshotTracker.java#L45]
 has this path hardcoded to

{code:java}
    public static final String TODELETEFILE = System.getenv("CASSANDRA_HOME") 
== null
                 ? ".toDelete"
                 : System.getenv("CASSANDRA_HOME") + File.separator + 
".toDelete";
{code}
 

 

 

> cassandra unit test leaves stale folders in cassandra/ module on Windows
> ------------------------------------------------------------------------
>
>                 Key: CALCITE-2442
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2442
>             Project: Calcite
>          Issue Type: Bug
>          Components: cassandra
>            Reporter: Andrei Sereda
>            Priority: Major
>
> [~Sergey Nuyanzin] reported that 
> [CassandraUnit|https://github.com/jsevellec/cassandra-unit] leaves 
> {{.toDelete}} folder in maven module folder ({{cassandra/}}) rather than 
> {{target/}} where all build and temporary files should be located.
> {quote}
> There is one more strange thing (at least on Windows): while building a
> file with name ".toDelete" is generated under calcite\cassandra and it's
> not removed by the end of tests
> Is there a way to make cassandra generates these files in target directory
> e.g.?
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to