diff --git a/docker/test/integration/runner/dockerd-entrypoint.sh b/docker/test/integration/runner/dockerd-entrypoint.sh index 34414abc3f5..0cb25d12a9f 100755 --- a/docker/test/integration/runner/dockerd-entrypoint.sh +++ b/docker/test/integration/runner/dockerd-entrypoint.sh @@ -28,8 +28,11 @@ done set -e # cleanup for retry run if volume is not recreated -docker kill "$(docker ps -aq)" || true -docker rm "$(docker ps -aq)" || true +# shellcheck disable=SC2046 +{ + docker kill $(docker ps -aq) || true + docker rm $(docker ps -aq) || true +} echo "Start tests" export CLICKHOUSE_TESTS_SERVER_BIN_PATH=/clickhouse