From 10372b12b799fa142c903d89906a98bf92fecfab 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 2321c938990..6ef077585ba 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