Slightly better config management in integration tests

This commit is contained in:
Alexey Milovidov 2019-09-02 22:57:09 +03:00
parent 5dbafdefdb
commit 89e86e1d41
2 changed files with 2 additions and 1 deletions

View File

@ -723,7 +723,8 @@ class ClickHouseInstance:
os.mkdir(config_d_dir)
os.mkdir(users_d_dir)
shutil.copy(p.join(HELPERS_DIR, 'common_instance_config.xml'), config_d_dir)
# The file is named with 0_ prefix to be processed before other configuration overloads.
shutil.copy(p.join(HELPERS_DIR, '0_common_instance_config.xml'), config_d_dir)
# Generate and write macros file
macros = self.macros.copy()