Skip to content

Commit

Permalink
Replace root tag in configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailBurdukov committed Feb 6, 2024
1 parent f6c4f82 commit e118c8a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/features/monrun.feature
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ Feature: ch-monitoring tool
When we execute command on clickhouse01
"""
echo -e "
<yandex>
<clickhouse>
<path_to_regions_hierarchy_file>/opt/geo/regions_hierarchy.txt</path_to_regions_hierarchy_file>
<path_to_regions_names_files>/opt/geo/</path_to_regions_names_files>
</yandex>
</clickhouse>
" > /etc/clickhouse-server/config.d/geo.xml && \
supervisorctl restart clickhouse-server
"""
Expand Down
4 changes: 2 additions & 2 deletions tests/features/s3_credentials.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ Feature: ch_s3_credentials tool
Then we get response
"""
<?xml version="1.0" encoding="utf-8"?>
<yandex>
<clickhouse>
<s3>
<cloud_storage>
<endpoint>storage.com</endpoint>
<header>X-YaCloud-SubjectToken: IAM_TOKEN</header>
</cloud_storage>
</s3>
</yandex>
</clickhouse>
"""
4 changes: 2 additions & 2 deletions tests/images/clickhouse/config/config.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<yandex>
<clickhouse>
<logger>
<console>1</console>
</logger>
Expand Down Expand Up @@ -87,4 +87,4 @@
<replica>{{ instance_name }}.{{ conf.network_name }}</replica>
<cluster>cluster</cluster>
</macros>
</yandex>
</clickhouse>
4 changes: 2 additions & 2 deletions tests/images/clickhouse/config/users.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<yandex>
<clickhouse>
<profiles>
<default>
<distributed_ddl_task_timeout>20</distributed_ddl_task_timeout>
Expand Down Expand Up @@ -36,4 +36,4 @@
<quotas>
<default/>
</quotas>
</yandex>
</clickhouse>

0 comments on commit e118c8a

Please sign in to comment.