datastax / cassandra-quarkus

An Apache Cassandra(R) extension for Quarkus
Apache License 2.0
39 stars 28 forks source link

Override default testcontainer image #220

Open Alexander-Krause-Glau opened 1 year ago

Alexander-Krause-Glau commented 1 year ago

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:

  1. Clone https://github.com/ExplorViz/landscape-service/tree/cassandra-image-int-tests
  2. Checkout cassandra-image-int-tests branch
  3. docker imagesto verify that no cassandra image is locally available
  4. Run ./gradlew integrationTest
  5. Regardless of the test outcome, cassandra:latest was downloaded and not cassandra:3.11.14.

┆Issue is synchronized with this Jira Task by Unito