[ 
https://issues.apache.org/jira/browse/CASSANDRASC-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yifan Cai updated CASSANDRASC-46:
---------------------------------
    Reviewers: Yifan Cai
       Status: Review In Progress  (was: Needs Committer)

+1 on the patch. Tested locally. The integration test runs and it runs fast. 

> Migrate minikube to testcontainers for integration tests
> --------------------------------------------------------
>
>                 Key: CASSANDRASC-46
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-46
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>              Labels: pull-request-available
>
> The existing Cassandra Sidecar integration testing suite uses Minikube to 
> provision a Cassandra service and it performs tests against the running 
> database. This database runs on Minikube.
> A new alternative is to use [testcontainers|https://www.testcontainers.org], 
> which requires Docker to run tests. The concept is similar, but the benefit 
> is that *testcontainers* is well integrated into the java ecosystem and it 
> works well with junit5. By replacing Minikube with {{testcontainers}} we can 
> simplify the setup process and reduce the complexity of the setup.
> Additionally, {{testcontainers}} is supported as part of the testing 
> infrastructure inside 
> [CircleCI|https://www.testcontainers.org/supported_docker_environment/continuous_integration/circle_ci/].
>  Currently, our Minikube tests are broken both locally and in CircleCI. 
> Moving to {{testcontainers}} would also unblock us for further development.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to