Add option to run only a single target

This commit is contained in:
Laurent Indermuehle 2023-01-06 18:07:16 +01:00
commit 2e56d5b53b
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 6 additions and 2 deletions

View file

@ -33,7 +33,7 @@ test-integration:
$(db_engine_version) \
mysqld --server-id 3 --log-bin=/var/lib/mysql/replica2-bin
while ! podman healthcheck run primary && [[ "$$SECONDS" -lt 120 ]]; do sleep 1; done
-set -x; ansible-test integration -v --color --coverage --retry-on-error --continue-on-error --diff --docker --docker-network podman --python $(python); set +x
-set -x; ansible-test integration $(target) -v --color --coverage --retry-on-error --continue-on-error --diff --docker --docker-network podman --python $(python); set +x
rm tests/integration/db_engine_version
rm tests/integration/connector
podman stop --time 0 --ignore primary