mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
Merge pull request #69449 from ClickHouse/fix_test2
Fix test_disks_app_func
This commit is contained in:
commit
bdddab6a1f
@ -13,8 +13,20 @@ def started_cluster():
|
||||
main_configs=["config.xml"],
|
||||
with_minio=True,
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user