I'm using Embedded Cassandra for some unit tests. I'm getting some unexpected error logs, so I'd like to inspect the database that's created to make sure it's what I think it should look like. Is there a way to open the Cassandra console while the test is paused at a breakpoint, like I can with H2?
How to access the console of Embedded Cassandra?
45 views Asked by spartanhooah At
1
you can configure CassandraBuilder with your own WorkingDirectory and also configure WorkingDestroyer.
https://nosan.github.io/embedded-cassandra/4.1.0/#working-directory-destroyer
https://nosan.github.io/embedded-cassandra/4.1.0/#working-directory
Also, you can set a breakpoint before Cassandra.stop() method.