cassandra-quarkus
cassandra-quarkus copied to clipboard
Override default testcontainer image
Due to https://github.com/datastax/cassandra-quarkus/issues/192, we should be able to override the default Dockerhub cassandra:latest
image via for example quarkus.cassandra.test.container.image=cassandra:3.11.14
in the application.properties
file.
Is this broken? Because it does not work on my side. Reproducer:
- Clone https://github.com/ExplorViz/landscape-service/tree/cassandra-image-int-tests
- Checkout
cassandra-image-int-tests
branch -
docker images
to verify that no cassandra image is locally available - Run
./gradlew integrationTest
- Regardless of the test outcome,
cassandra:latest
was downloaded and notcassandra:3.11.14
.