[
https://issues.apache.org/jira/browse/CASSANDRASC-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619104#comment-17619104
]
ASF subversion and git services commented on CASSANDRASC-46:
------------------------------------------------------------
Commit 05c0bbe29f75d678596af09abb0c68d15e93f7ba in cassandra-sidecar's branch
refs/heads/trunk from Francisco Guerrero
[ https://gitbox.apache.org/repos/asf?p=cassandra-sidecar.git;h=05c0bbe ]
CASSANDRASC-46: Migrate minikube to testcontainers for integration tests
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 for running
integration tests.
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.
Minor fix when running testcontainers
patch by Francisco Guerrero; reviewed by Yifan Cai, Dinesh Joshi for
CASSANDRASC-46
> 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: [email protected]
For additional commands, e-mail: [email protected]