While trying to fix Sergey's issue with stale folder (see CALCITE-2442) I realized that CassandraUnit wasn't shutting down the cluster.
So I've added a manual tearDown() method which explicitly calls close() on both session and cluster: https://github.com/apache/calcite/pull/775 Can you pls check if it fixes the issue ? On Wed, Aug 1, 2018 at 7:36 PM Michael Mior <[email protected]> wrote: > I was finally able to reproduce this with OpenJDK 9. Strangely, JDK 10 > works for me. I'll take a look and see if I can figure out what's going on. > > -- > Michael Mior > [email protected] > > > > Le dim. 29 juil. 2018 à 14:05, Julian Hyde <[email protected]> a écrit : > > > I'm seeing the following error when I run the tests on bd0e14002 > > origin/master. Anyone else see it? > > > > [INFO] Running org.apache.calcite.test.CassandraAdapterTest > > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > elapsed: 0.001 s <<< FAILURE! - in > > org.apache.calcite.test.CassandraAdapterTest > > [ERROR] org.apache.calcite.test.CassandraAdapterTest Time elapsed: > > 0.001 s <<< ERROR! > > java.lang.ExceptionInInitializerError > > at > > > org.apache.calcite.test.CassandraAdapterTest.initCassandraIfEnabled(CassandraAdapterTest.java:106) > > at > > > org.apache.calcite.test.CassandraAdapterTest.<clinit>(CassandraAdapterTest.java:56) > > Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, > > length 5 > > at > > > org.apache.calcite.test.CassandraAdapterTest.initCassandraIfEnabled(CassandraAdapterTest.java:106) > > at > > > org.apache.calcite.test.CassandraAdapterTest.<clinit>(CassandraAdapterTest.java:56) > > >
