From e9c606840f7525ef9952eeed992f4646c5415231 Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Sun, 31 Oct 2021 10:08:20 +0300 Subject: [PATCH] Better handling of `xtables.lock` in `runner`. --- tests/integration/runner | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/runner b/tests/integration/runner index 86a254b26f5..03ea091d750 100755 --- a/tests/integration/runner +++ b/tests/integration/runner @@ -275,8 +275,9 @@ if __name__ == "__main__": --volume={library_bridge_bin}:/clickhouse-library-bridge --volume={bin}:/clickhouse \ --volume={base_cfg}:/clickhouse-config --volume={cases_dir}:/ClickHouse/tests/integration \ --volume={src_dir}/Server/grpc_protos:/ClickHouse/src/Server/grpc_protos \ - --volume=/run/xtables.lock:/run/xtables.lock:ro \ + --volume=/run:/run/host:ro \ {dockerd_internal_volume} -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 \ + -e XTABLES_LOCKFILE=/run/host/xtables.lock \ {env_tags} {env_cleanup} -e PYTEST_OPTS='{parallel} {opts} {tests_list} -vvv' {img} {command}".format( net=net, tty=tty,