mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Fix test_distributed_inter_server_secret in 24.3
This commit is contained in:
parent
54944df2b1
commit
93f9c3925a
@ -12,12 +12,16 @@ from helpers.cluster import ClickHouseCluster
|
|||||||
cluster = ClickHouseCluster(__file__)
|
cluster = ClickHouseCluster(__file__)
|
||||||
|
|
||||||
|
|
||||||
def make_instance(name, cfg, *args, **kwargs):
|
def make_instance(name, *args, **kwargs):
|
||||||
|
main_configs = kwargs.pop("main_configs", [])
|
||||||
|
main_configs.append("configs/remote_servers.xml")
|
||||||
|
user_configs = kwargs.pop("user_configs", [])
|
||||||
|
user_configs.append("configs/users.xml")
|
||||||
return cluster.add_instance(
|
return cluster.add_instance(
|
||||||
name,
|
name,
|
||||||
with_zookeeper=True,
|
with_zookeeper=True,
|
||||||
main_configs=["configs/remote_servers.xml", cfg],
|
main_configs=main_configs,
|
||||||
user_configs=["configs/users.xml"],
|
user_configs=user_configs,
|
||||||
*args,
|
*args,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user