From 1a97db544dd48bcd122e53a06705a4bf788002d8 Mon Sep 17 00:00:00 2001 From: Yatsishin Ilya <2159081+qoega@users.noreply.github.com> Date: Tue, 25 May 2021 15:29:22 +0300 Subject: [PATCH] rm containers in entrypooint --- docker/test/integration/runner/dockerd-entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/test/integration/runner/dockerd-entrypoint.sh b/docker/test/integration/runner/dockerd-entrypoint.sh index 9b100d947b0..36552d53870 100755 --- a/docker/test/integration/runner/dockerd-entrypoint.sh +++ b/docker/test/integration/runner/dockerd-entrypoint.sh @@ -27,6 +27,10 @@ while true; do done set -e +# cleanup for retry run if volume is not recreated +docker kill `docker ps -aq` || true +docker rm `docker ps -aq` || true + echo "Start tests" export CLICKHOUSE_TESTS_SERVER_BIN_PATH=/clickhouse export CLICKHOUSE_TESTS_CLIENT_BIN_PATH=/clickhouse