diff --git a/docker/test/README.md b/docker/test/README.md index 4855a59..479618e 100644 --- a/docker/test/README.md +++ b/docker/test/README.md @@ -1,5 +1,5 @@ # Monstache test runner You can use the `run-tests.sh` script in this folder to run integration tests. You will need to have installed -`docker` and `docker-compose`. The script starts services for MongoDB, Elasticsearch, and Monstache itself, and +`docker`. The script starts services for MongoDB, Elasticsearch, and Monstache itself, and then runs the tests in `monstache_test.go`. diff --git a/docker/test/run-tests.sh b/docker/test/run-tests.sh index e183284..759a03e 100755 --- a/docker/test/run-tests.sh +++ b/docker/test/run-tests.sh @@ -3,6 +3,6 @@ export COMPOSE_FILE=docker-compose.test.yml export COMPOSE_PROJECT_NAME=monstache -# The network created by docker-compose will be called ${COMPOSE_PROJECT_NAME}_test as we have the network test in docker-compose +# The network created by docker will be called ${COMPOSE_PROJECT_NAME}_test as we have the network test in docker-compose -docker-compose down --remove-orphans ; docker-compose up --force-recreate --build --abort-on-container-exit --exit-code-from sut +docker compose down --remove-orphans ; docker compose up --force-recreate --build --abort-on-container-exit --exit-code-from sut