Defining test sandbox in compose file allows testing against multi node swarm setup (#591)

* Defining test sandbox in compose file allows swapping with multi node swarm setup

* Test cases can request a multi node swarm cluster

* Docker healthchecks can be used for awaiting ready state

* Compose profiles can be used
This commit is contained in:
Frederik Ring
2025-06-06 17:46:25 +02:00
committed by GitHub
parent 1dafa12561
commit 06bb25c980
11 changed files with 53 additions and 51 deletions

View File

@@ -8,8 +8,6 @@ current_test=$(basename $(pwd))
export LOCAL_DIR=$(mktemp -d)
docker swarm init
docker stack deploy --compose-file=docker-compose.yml test_stack
while [ -z $(docker ps -q -f name=backup) ]; do