You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/10/18 10:46:32 UTC

[GitHub] [calcite] tgrall commented on pull request #2223: Proposal : 4344 test container sample

tgrall commented on pull request #2223:
URL: https://github.com/apache/calcite/pull/2223#issuecomment-711149463


   During tests:
   
   * Redis adapter is using a docker container if docker is running on the development machine
   * If docker is not running (taking some) the Redis use the MiniRedisServer (fake Redis instead)
   * it is possible to force the test to NOT use Docker or not try to use Redis  `./gradlew cleanTest  test -Dcalcite.test.docker=false`
   
   This means:
   * When you are running a machine with docker you test with the real product
   * In CI, since Docker is available it is tested with the real product
   * So far it is only available for Redis, may be interesting to reuse.
   
   Note: it is a different approach than CALCITE-4278 that uses docker/docker-compose for CI test bu not in development. The approach here is to also use container in development when possible, and CI too.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org