Merge pull request #48610 from azat/tests/fix-log-level

Fix flakiness of test_store_cleanup in case of image rebuild
This commit is contained in:
Alexander Tokmakov 2023-04-11 17:39:39 +03:00 committed by GitHub
commit d85ede23a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4161,9 +4161,10 @@ class ClickHouseInstance:
logging.debug("Copy common configuration from helpers")
# The file is named with 0_ prefix to be processed before other configuration overloads.
if self.copy_common_configs:
need_fix_log_level = self.tag != "latest"
write_embedded_config(
"0_common_instance_config.xml", self.config_d_dir, need_fix_log_level
"0_common_instance_config.xml",
self.config_d_dir,
self.with_installed_binary,
)
write_embedded_config("0_common_instance_users.xml", users_d_dir)