Open FearlessHyena opened 5 years ago
no one had this issue yet? Want to switch to JUnit 5 but this is keeping me from it
I've created a cassandra-unit-spring library that starts the Cassandra server and makes the ports available as Spring Boot environment properties. It works with JUnit 5, and is designed like the @AutoConfigureWireMock
provided by Spring Cloud.
I'm currently using Kotlin and the SpringExtension::class doesn't seem to work and fails to start the EmbeddedCassandra instance resulting in a
com.datastax.driver.core.exceptions.NoHostAvailableException
Here are the settings that I've tried with Neither the
@CassandraDataSet
nor the@EmbeddedCassandra
seem to be picked upSwitching to the SpringJUnit4ClassRunner::class fixes the problem Is this a known issue?