[
https://issues.apache.org/jira/browse/CALCITE-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568633#comment-16568633
]
Michael Mior commented on CALCITE-2442:
---------------------------------------
{{[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s
<<< FAILURE! - in org.apache.calcite.test.CassandraAdapterTest [ERROR]
org.apache.calcite.test.CassandraAdapterTest Time elapsed: 0 s <<< ERROR!
java.lang.ExceptionInInitializerError at
org.apache.calcite.test.CassandraAdapterTest.initCassandraIfEnabled(CassandraAdapterTest.java:109)
at org.apache.calcite.test.CassandraAdapterTest.(CassandraAdapterTest.java:61)
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 5
at
org.apache.calcite.test.CassandraAdapterTest.initCassandraIfEnabled(CassandraAdapterTest.java:109)
at org.apache.calcite.test.CassandraAdapterTest.(CassandraAdapterTest.java:61}}
Stack trace above. This is Ubuntu 18.04, OpenJDK 9 on a 6 core machine.
> 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)