diff --git a/tests/integration/test_config_xml_main/configs/config.d/access_control.yaml b/tests/integration/test_config_xml_main/configs/config.d/access_control.yaml
index d8ead517c86..a83e775e504 100644
--- a/tests/integration/test_config_xml_main/configs/config.d/access_control.yaml
+++ b/tests/integration/test_config_xml_main/configs/config.d/access_control.yaml
@@ -2,6 +2,6 @@ user_directories:
users_xml:
path: users.xml
local_directory:
- path: access/
+ path: /var/lib/clickhouse/access/
"@replace": replace
diff --git a/tests/integration/test_config_xml_main/configs/config.d/path.yaml b/tests/integration/test_config_xml_main/configs/config.d/path.yaml
index 3e26e8906ee..7fd5b1a0478 100644
--- a/tests/integration/test_config_xml_main/configs/config.d/path.yaml
+++ b/tests/integration/test_config_xml_main/configs/config.d/path.yaml
@@ -1,18 +1,18 @@
path:
- - ./
+ - /var/lib/clickhouse
- "@replace": replace
tmp_path:
- - ./tmp/
+ - /var/lib/clickhouse/tmp/
- "@replace": replace
user_files_path:
- - ./user_files/
+ - /var/lib/clickhouse/user_files/
- "@replace": replace
format_schema_path:
- - ./format_schemas/
+ - /var/lib/clickhouse/format_schemas/
- "@replace": replace
access_control_path:
- - ./access/
+ - /var/lib/clickhouse/access/
- "@replace": replace
top_level_domains_path:
- - ./top_level_domains/
+ - /var/lib/clickhouse/top_level_domains/
- "@replace": replace
diff --git a/tests/integration/test_config_xml_main/configs/config.xml b/tests/integration/test_config_xml_main/configs/config.xml
index 3b5dab50ffe..a2c69c34e0a 100644
--- a/tests/integration/test_config_xml_main/configs/config.xml
+++ b/tests/integration/test_config_xml_main/configs/config.xml
@@ -1,5 +1,5 @@
-
+
trace
/var/log/clickhouse-server/clickhouse-server.log
@@ -64,10 +64,10 @@
1000
- /var/lib/clickhouse/
+ ./
- /var/lib/clickhouse/tmp/
- /var/lib/clickhouse/user_files/
+ ./tmp/
+ ./user_files/
@@ -274,4 +274,4 @@
false
https://6f33034cfe684dd7a3ab9875e57b1c8d@o388870.ingest.sentry.io/5226277
-
+
diff --git a/tests/integration/test_config_xml_main/configs/embedded.xml b/tests/integration/test_config_xml_main/configs/embedded.xml
index a66f57d1eb7..ba0df99dfe0 100644
--- a/tests/integration/test_config_xml_main/configs/embedded.xml
+++ b/tests/integration/test_config_xml_main/configs/embedded.xml
@@ -1,6 +1,6 @@
-
+
trace
true
@@ -37,4 +37,4 @@
-
+
diff --git a/tests/integration/test_config_xml_main/configs/users.xml b/tests/integration/test_config_xml_main/configs/users.xml
index b473413bdfa..ac785c12577 100644
--- a/tests/integration/test_config_xml_main/configs/users.xml
+++ b/tests/integration/test_config_xml_main/configs/users.xml
@@ -1,5 +1,5 @@
-
+
10000000000
@@ -16,4 +16,4 @@
default
-
+
diff --git a/tests/integration/test_config_xml_main/test.py b/tests/integration/test_config_xml_main/test.py
index 052f9adb01f..11efb5e283c 100644
--- a/tests/integration/test_config_xml_main/test.py
+++ b/tests/integration/test_config_xml_main/test.py
@@ -32,7 +32,7 @@ def test_xml_main_conf():
all_userd = ['configs/users.d/allow_introspection_functions.yaml',
'configs/users.d/log_queries.yaml']
- node = cluster.add_instance('node', base_config_dir='configs', main_configs=all_confd, user_configs=all_userd, with_zookeeper=False)
+ node = cluster.add_instance('node', base_config_dir='configs', main_configs=all_confd, user_configs=all_userd, with_zookeeper=False, config_root_name='clickhouse')
try:
cluster.start()
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/access_control.yaml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/access_control.yaml
index ce2e23839ef..90a0a0ac3fb 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/access_control.yaml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/access_control.yaml
@@ -2,6 +2,6 @@ user_directories:
users_xml:
path: users.yaml
local_directory:
- path: access/
+ path: /var/lib/clickhouse/access/
"@replace": replace
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/keeper_port.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/keeper_port.xml
index b21df47bc85..cee4d338231 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/keeper_port.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/keeper_port.xml
@@ -1,4 +1,4 @@
-
+
9181
1
@@ -20,4 +20,4 @@
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/logging_no_rotate.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/logging_no_rotate.xml
index 2c34585437b..e541c39aff4 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/logging_no_rotate.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/logging_no_rotate.xml
@@ -1,8 +1,8 @@
-
+
never
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/metric_log.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/metric_log.xml
index 0ca9f162416..ea829d15975 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/metric_log.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/metric_log.xml
@@ -1,8 +1,8 @@
-
+
system
7500
1000
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/part_log.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/part_log.xml
index 6c6fc9c6982..ce9847a49fb 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/part_log.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/part_log.xml
@@ -1,8 +1,8 @@
-
+
system
7500
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/path.yaml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/path.yaml
index 3e26e8906ee..7fd5b1a0478 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/path.yaml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/path.yaml
@@ -1,18 +1,18 @@
path:
- - ./
+ - /var/lib/clickhouse
- "@replace": replace
tmp_path:
- - ./tmp/
+ - /var/lib/clickhouse/tmp/
- "@replace": replace
user_files_path:
- - ./user_files/
+ - /var/lib/clickhouse/user_files/
- "@replace": replace
format_schema_path:
- - ./format_schemas/
+ - /var/lib/clickhouse/format_schemas/
- "@replace": replace
access_control_path:
- - ./access/
+ - /var/lib/clickhouse/access/
- "@replace": replace
top_level_domains_path:
- - ./top_level_domains/
+ - /var/lib/clickhouse/top_level_domains/
- "@replace": replace
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/query_masking_rules.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/query_masking_rules.xml
index 5a854848f3d..690d62b9a2b 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/query_masking_rules.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/query_masking_rules.xml
@@ -1,10 +1,10 @@
-
+
TOPSECRET.TOPSECRET
[hidden]
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/test_cluster_with_incorrect_pw.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/test_cluster_with_incorrect_pw.xml
index 109e35afc37..a5033abf154 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/test_cluster_with_incorrect_pw.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/test_cluster_with_incorrect_pw.xml
@@ -1,4 +1,4 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.d/zookeeper.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.d/zookeeper.xml
index 06ed7fcd39f..4fa529a6180 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.d/zookeeper.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.d/zookeeper.xml
@@ -1,8 +1,8 @@
-
+
localhost
9181
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/config.xml b/tests/integration/test_config_xml_yaml_mix/configs/config.xml
index e6a2b6d5324..660e8d7937d 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/config.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/config.xml
@@ -1,5 +1,5 @@
-
+
trace
/var/log/clickhouse-server/clickhouse-server.log
@@ -64,10 +64,10 @@
1000
- /var/lib/clickhouse/
+ ./
- /var/lib/clickhouse/tmp/
- /var/lib/clickhouse/user_files/
+ ./tmp/
+ ./user_files/
@@ -274,4 +274,4 @@
false
https://6f33034cfe684dd7a3ab9875e57b1c8d@o388870.ingest.sentry.io/5226277
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/embedded.xml b/tests/integration/test_config_xml_yaml_mix/configs/embedded.xml
index a66f57d1eb7..ba0df99dfe0 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/embedded.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/embedded.xml
@@ -1,6 +1,6 @@
-
+
trace
true
@@ -37,4 +37,4 @@
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/configs/users.d/allow_introspection_functions.xml b/tests/integration/test_config_xml_yaml_mix/configs/users.d/allow_introspection_functions.xml
index b94e95bc043..cfde1b4525d 100644
--- a/tests/integration/test_config_xml_yaml_mix/configs/users.d/allow_introspection_functions.xml
+++ b/tests/integration/test_config_xml_yaml_mix/configs/users.d/allow_introspection_functions.xml
@@ -1,8 +1,8 @@
-
+
1
-
+
diff --git a/tests/integration/test_config_xml_yaml_mix/test.py b/tests/integration/test_config_xml_yaml_mix/test.py
index 90ee8a2dea5..86cd68b3378 100644
--- a/tests/integration/test_config_xml_yaml_mix/test.py
+++ b/tests/integration/test_config_xml_yaml_mix/test.py
@@ -32,7 +32,7 @@ def test_extra_yaml_mix():
'configs/users.d/log_queries.yaml']
node = cluster.add_instance('node', base_config_dir='configs', main_configs=all_confd, user_configs=all_userd, with_zookeeper=False,
- users_config_name="users.yaml", copy_common_configs=False)
+ users_config_name="users.yaml", copy_common_configs=False, config_root_name="clickhouse")
try:
cluster.start()
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/access_control.xml b/tests/integration/test_config_yaml_main/configs/config.d/access_control.xml
index b61f89bd904..7b2815b5ce9 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/access_control.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/access_control.xml
@@ -1,4 +1,4 @@
-
+
@@ -7,7 +7,7 @@
- access/
+ /var/lib/clickhouse/access/
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/keeper_port.xml b/tests/integration/test_config_yaml_main/configs/config.d/keeper_port.xml
index b21df47bc85..cee4d338231 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/keeper_port.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/keeper_port.xml
@@ -1,4 +1,4 @@
-
+
9181
1
@@ -20,4 +20,4 @@
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/log_to_console.xml b/tests/integration/test_config_yaml_main/configs/config.d/log_to_console.xml
index 227c53647f3..70d2f014380 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/log_to_console.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/log_to_console.xml
@@ -1,7 +1,7 @@
-
+
true
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/logging_no_rotate.xml b/tests/integration/test_config_yaml_main/configs/config.d/logging_no_rotate.xml
index 2c34585437b..e541c39aff4 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/logging_no_rotate.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/logging_no_rotate.xml
@@ -1,8 +1,8 @@
-
+
never
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/macros.xml b/tests/integration/test_config_yaml_main/configs/config.d/macros.xml
index 4902b12bc81..657082fe8ae 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/macros.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/macros.xml
@@ -1,4 +1,4 @@
-
+
Hello, world!
s1
@@ -6,4 +6,4 @@
/clickhouse/tables/{database}/{shard}/
table_{table}
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/metric_log.xml b/tests/integration/test_config_yaml_main/configs/config.d/metric_log.xml
index 0ca9f162416..ea829d15975 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/metric_log.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/metric_log.xml
@@ -1,8 +1,8 @@
-
+
system
7500
1000
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/more_clusters.xml b/tests/integration/test_config_yaml_main/configs/config.d/more_clusters.xml
index aecbf9e0ba7..ce88408876f 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/more_clusters.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/more_clusters.xml
@@ -1,4 +1,4 @@
-
+
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/part_log.xml b/tests/integration/test_config_yaml_main/configs/config.d/part_log.xml
index 6c6fc9c6982..ce9847a49fb 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/part_log.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/part_log.xml
@@ -1,8 +1,8 @@
-
+
system
7500
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/path.xml b/tests/integration/test_config_yaml_main/configs/config.d/path.xml
index 466ed0d1663..25d8f6780d2 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/path.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/path.xml
@@ -1,8 +1,8 @@
-
- ./
- ./tmp/
- ./user_files/
- ./format_schemas/
- ./access/
- ./top_level_domains/
-
+
+ /var/lib/clickhouse
+ /var/lib/clickhouse/tmp/
+ /var/lib/clickhouse/user_files/
+ /var/lib/clickhouse/format_schemas/
+ /var/lib/clickhouse/access/
+ /var/lib/clickhouse/top_level_domains/
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/query_masking_rules.xml b/tests/integration/test_config_yaml_main/configs/config.d/query_masking_rules.xml
index 5a854848f3d..690d62b9a2b 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/query_masking_rules.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/query_masking_rules.xml
@@ -1,10 +1,10 @@
-
+
TOPSECRET.TOPSECRET
[hidden]
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/tcp_with_proxy.xml b/tests/integration/test_config_yaml_main/configs/config.d/tcp_with_proxy.xml
index 19046054c16..733eb2370ca 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/tcp_with_proxy.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/tcp_with_proxy.xml
@@ -1,3 +1,3 @@
-
+
9010
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/test_cluster_with_incorrect_pw.xml b/tests/integration/test_config_yaml_main/configs/config.d/test_cluster_with_incorrect_pw.xml
index 109e35afc37..a5033abf154 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/test_cluster_with_incorrect_pw.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/test_cluster_with_incorrect_pw.xml
@@ -1,4 +1,4 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/text_log.xml b/tests/integration/test_config_yaml_main/configs/config.d/text_log.xml
index 3699a23578c..dce4942d952 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/text_log.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/text_log.xml
@@ -1,7 +1,7 @@
-
+
system
7500
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.d/zookeeper.xml b/tests/integration/test_config_yaml_main/configs/config.d/zookeeper.xml
index 06ed7fcd39f..4fa529a6180 100644
--- a/tests/integration/test_config_yaml_main/configs/config.d/zookeeper.xml
+++ b/tests/integration/test_config_yaml_main/configs/config.d/zookeeper.xml
@@ -1,8 +1,8 @@
-
+
localhost
9181
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/config.yaml b/tests/integration/test_config_yaml_main/configs/config.yaml
index e5a36b1e49b..65cbb4b3e81 100644
--- a/tests/integration/test_config_yaml_main/configs/config.yaml
+++ b/tests/integration/test_config_yaml_main/configs/config.yaml
@@ -48,9 +48,9 @@ total_memory_tracker_sample_probability: 0
uncompressed_cache_size: 8589934592
mark_cache_size: 5368709120
mmap_cache_size: 1000
-path: /var/lib/clickhouse/
-tmp_path: /var/lib/clickhouse/tmp/
-user_files_path: /var/lib/clickhouse/user_files/
+path: ./
+tmp_path: ./tmp/
+user_files_path: ./user_files/
ldap_servers: ''
user_directories:
users_xml:
diff --git a/tests/integration/test_config_yaml_main/configs/embedded.xml b/tests/integration/test_config_yaml_main/configs/embedded.xml
index a66f57d1eb7..ba0df99dfe0 100644
--- a/tests/integration/test_config_yaml_main/configs/embedded.xml
+++ b/tests/integration/test_config_yaml_main/configs/embedded.xml
@@ -1,6 +1,6 @@
-
+
trace
true
@@ -37,4 +37,4 @@
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/users.d/allow_introspection_functions.xml b/tests/integration/test_config_yaml_main/configs/users.d/allow_introspection_functions.xml
index b94e95bc043..cfde1b4525d 100644
--- a/tests/integration/test_config_yaml_main/configs/users.d/allow_introspection_functions.xml
+++ b/tests/integration/test_config_yaml_main/configs/users.d/allow_introspection_functions.xml
@@ -1,8 +1,8 @@
-
+
1
-
+
diff --git a/tests/integration/test_config_yaml_main/configs/users.d/log_queries.xml b/tests/integration/test_config_yaml_main/configs/users.d/log_queries.xml
index 25261072ade..755c5478463 100644
--- a/tests/integration/test_config_yaml_main/configs/users.d/log_queries.xml
+++ b/tests/integration/test_config_yaml_main/configs/users.d/log_queries.xml
@@ -1,7 +1,7 @@
-
+
1
-
+
diff --git a/tests/integration/test_config_yaml_main/test.py b/tests/integration/test_config_yaml_main/test.py
index f4de16c35a2..bb4c8eb8f9f 100644
--- a/tests/integration/test_config_yaml_main/test.py
+++ b/tests/integration/test_config_yaml_main/test.py
@@ -32,7 +32,8 @@ def test_yaml_main_conf():
'configs/users.d/log_queries.xml']
node = cluster.add_instance('node', base_config_dir='configs', main_configs=all_confd, user_configs=all_userd,
- with_zookeeper=False, main_config_name="config.yaml", users_config_name="users.yaml", copy_common_configs=False)
+ with_zookeeper=False, main_config_name="config.yaml", users_config_name="users.yaml",
+ copy_common_configs=False, config_root_name="clickhouse")
try:
cluster.start()