Followup fixes for integration tests

This commit is contained in:
alesapin 2021-06-04 10:51:45 +03:00
parent 7ca31261b0
commit 4d7170b557
2 changed files with 1 additions and 2 deletions

View File

@ -2048,7 +2048,6 @@ class ClickHouseInstance:
instance_config_dir = p.abspath(p.join(self.path, 'configs'))
os.makedirs(instance_config_dir)
os.chmod(instance_config_dir, stat.S_IRWXO)
print(f"Copy common default production configuration from {self.base_config_dir}. Files: {self.main_config_name}, {self.users_config_name}")

View File

@ -42,7 +42,7 @@ def test_partition_simple(partition_table_simple):
def exec_bash(cmd):
cmd = '/bin/bash -c "{}"'.format(cmd.replace('"', '\\"'))
cmd = ["/bin/bash", "-c", cmd.replace('"', '\\"')]
return instance.exec_in_container(cmd)