mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
fix
This commit is contained in:
parent
db42cf12fd
commit
acbeaa6d33
@ -13,8 +13,20 @@ def started_cluster():
|
|||||||
main_configs=["config.xml"],
|
main_configs=["config.xml"],
|
||||||
with_minio=True,
|
with_minio=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
cluster.start()
|
cluster.start()
|
||||||
|
|
||||||
|
# local disk requires its `path` directory to exist.
|
||||||
|
# the two paths below belong to `test1` and `test2` disks
|
||||||
|
node = cluster.instances["disks_app_test"]
|
||||||
|
for path in ["path1", "path2"]:
|
||||||
|
node.exec_in_container(
|
||||||
|
[
|
||||||
|
"bash",
|
||||||
|
"-c",
|
||||||
|
f"mkdir -p /var/lib/clickhouse/{path}",
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
yield cluster
|
yield cluster
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user