[
https://issues.apache.org/jira/browse/CALCITE-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stamatis Zampetakis updated CALCITE-4344:
-----------------------------------------
Description:
The idea is to use Docker containers instead of embedded (fake) server in tests
to allow simulating better production (full featured) environments.
The [testcontainers|https://www.testcontainers.org/] project allows to handle
transparently the management of Docker containers so it can simplify a lot the
development of tests using Docker.
There are some disadvantages in using Docker:
* more resources;
* longer execution times;
* requires Docker installation
thus at the moment the embedded server will be retained for those who do not
want to use the containerized tests.
was:
I have started a discussion the dev mailing about using
[https://www.testcontainers.org/] to run "real product" instead of fake server
in tests.
It will take more resources and time, and the development and build environment
needs to have docker running; but I believe that the benefits of running a real
product overcome this.
> Run Redis tests using Docker containers
> ---------------------------------------
>
> Key: CALCITE-4344
> URL: https://issues.apache.org/jira/browse/CALCITE-4344
> Project: Calcite
> Issue Type: Improvement
> Components: build
> Affects Versions: 1.26.0
> Reporter: Tugdual Grall
> Priority: Minor
>
> The idea is to use Docker containers instead of embedded (fake) server in
> tests to allow simulating better production (full featured) environments.
> The [testcontainers|https://www.testcontainers.org/] project allows to handle
> transparently the management of Docker containers so it can simplify a lot
> the development of tests using Docker.
> There are some disadvantages in using Docker:
> * more resources;
> * longer execution times;
> * requires Docker installation
> thus at the moment the embedded server will be retained for those who do not
> want to use the containerized tests.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)