mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Fix bad merge
This commit is contained in:
parent
5ab9f249e5
commit
8f50a6769d
@ -40,7 +40,6 @@ SANITIZER_SIGN = "=================="
|
|||||||
def _create_env_file(path, variables, fname=DEFAULT_ENV_NAME):
|
def _create_env_file(path, variables, fname=DEFAULT_ENV_NAME):
|
||||||
full_path = os.path.join(path, fname)
|
full_path = os.path.join(path, fname)
|
||||||
with open(full_path, 'w') as f:
|
with open(full_path, 'w') as f:
|
||||||
f.write('TSAN_OPTIONS="external_symbolizer_path=/usr/bin/llvm-symbolizer"\n')
|
|
||||||
for var, value in variables.items():
|
for var, value in variables.items():
|
||||||
f.write("=".join([var, value]) + "\n")
|
f.write("=".join([var, value]) + "\n")
|
||||||
return full_path
|
return full_path
|
||||||
@ -192,13 +191,36 @@ class ClickHouseCluster:
|
|||||||
tag = self.docker_base_tag
|
tag = self.docker_base_tag
|
||||||
|
|
||||||
instance = ClickHouseInstance(
|
instance = ClickHouseInstance(
|
||||||
self, self.base_dir, name, base_config_dir if base_config_dir else self.base_config_dir,
|
cluster=self,
|
||||||
main_configs or [], user_configs or [], dictionaries or [], macros or {}, with_zookeeper,
|
base_path=self.base_dir,
|
||||||
self.zookeeper_config_path, with_mysql, with_kafka, with_rabbitmq, with_mongo, with_redis, with_minio, with_cassandra,
|
name=name,
|
||||||
self.server_bin_path, self.odbc_bridge_bin_path, clickhouse_path_dir, with_odbc_drivers, hostname=hostname,
|
base_config_dir=base_config_dir if base_config_dir else self.base_config_dir,
|
||||||
env_variables=env_variables or {}, image=image, tag=tag, stay_alive=stay_alive, ipv4_address=ipv4_address,
|
custom_main_configs=main_configs or [],
|
||||||
|
custom_user_configs=user_configs or [],
|
||||||
|
custom_dictionaries=dictionaries or [],
|
||||||
|
macros=macros or {},
|
||||||
|
with_zookeeper=with_zookeeper,
|
||||||
|
zookeeper_config_path=self.zookeeper_config_path,
|
||||||
|
with_mysql=with_mysql,
|
||||||
|
with_kafka=with_kafka,
|
||||||
|
with_rabbitmq=with_rabbitmq,
|
||||||
|
with_mongo=with_mongo,
|
||||||
|
with_redis=with_redis,
|
||||||
|
with_minio=with_minio,
|
||||||
|
with_cassandra=with_cassandra,
|
||||||
|
server_bin_path=self.server_bin_path,
|
||||||
|
odbc_bridge_bin_path=self.odbc_bridge_bin_path,
|
||||||
|
clickhouse_path_dir=clickhouse_path_dir,
|
||||||
|
with_odbc_drivers=with_odbc_drivers,
|
||||||
|
hostname=hostname,
|
||||||
|
env_variables=env_variables or {},
|
||||||
|
image=image,
|
||||||
|
tag=tag,
|
||||||
|
stay_alive=stay_alive,
|
||||||
|
ipv4_address=ipv4_address,
|
||||||
ipv6_address=ipv6_address,
|
ipv6_address=ipv6_address,
|
||||||
with_installed_binary=with_installed_binary, tmpfs=tmpfs or [])
|
with_installed_binary=with_installed_binary,
|
||||||
|
tmpfs=tmpfs or [])
|
||||||
|
|
||||||
docker_compose_yml_dir = get_docker_compose_path()
|
docker_compose_yml_dir = get_docker_compose_path()
|
||||||
|
|
||||||
@ -769,8 +791,7 @@ class ClickHouseInstance:
|
|||||||
def __init__(
|
def __init__(
|
||||||
self, cluster, base_path, name, base_config_dir, custom_main_configs, custom_user_configs, custom_dictionaries,
|
self, cluster, base_path, name, base_config_dir, custom_main_configs, custom_user_configs, custom_dictionaries,
|
||||||
macros, with_zookeeper, zookeeper_config_path, with_mysql, with_kafka, with_rabbitmq, with_mongo, with_redis, with_minio,
|
macros, with_zookeeper, zookeeper_config_path, with_mysql, with_kafka, with_rabbitmq, with_mongo, with_redis, with_minio,
|
||||||
with_cassandra, server_bin_path, base_config_dir,
|
with_cassandra, server_bin_path, odbc_bridge_bin_path, clickhouse_path_dir, with_odbc_drivers, hostname=None, env_variables=None,
|
||||||
clickhouse_path_dir, with_odbc_drivers, hostname=None, env_variables=None,
|
|
||||||
image="yandex/clickhouse-integration-test", tag="latest",
|
image="yandex/clickhouse-integration-test", tag="latest",
|
||||||
stay_alive=False, ipv4_address=None, ipv6_address=None, with_installed_binary=False, tmpfs=None):
|
stay_alive=False, ipv4_address=None, ipv6_address=None, with_installed_binary=False, tmpfs=None):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user