You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dinesh Joshi (Jira)" <ji...@apache.org> on 2022/10/17 21:09:00 UTC

[jira] [Commented] (CASSANDRASC-46) Migrate minikube to testcontainers for integration tests

    [ https://issues.apache.org/jira/browse/CASSANDRASC-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619098#comment-17619098 ] 

Dinesh Joshi commented on CASSANDRASC-46:
-----------------------------------------

+1, thanks for the patch!

> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org