I tried to run an EmbeddedCassandra.startEmbeddedCassandra() in my unit tests (with casandra-unit:4.3.1.0) and after the startEmbeddedCassandra() is called no errors is thrown but is still loading, no timeout added to the method is triggered.
NOTEs:
- JAVA version 17
- Running platform Windows
- cassandra-driver-core: 3.11.3
- com.datastax.oss dependencies (java-driver-core, java-driver-query-builder): 4.15.0
Does anyone has any idea?
CassandraUnit embeds a cluster instance running Cassandra 3.11 which only works with Java 8.
Cassandra 4.0.0 added experimental support for Java 11 (CASSANDRA-9608), with full support added in C* 4.0.2 (CASSANDRA-16894).
Support for Java 17 is a work-in-progress (CASSANDRA-16895) slated for release at some point in the future. Cheers!