Change name of default azurite container to avoid clashing with azure blob storage tests

This commit is contained in:
János Benjamin Antal 2024-08-15 09:41:03 +00:00
parent 7b1bca2b48
commit d18b6c63d4
2 changed files with 2 additions and 2 deletions

View File

@ -570,7 +570,7 @@ class ClickHouseCluster:
self.spark_session = None self.spark_session = None
self.with_azurite = False self.with_azurite = False
self.azurite_container = "cont" self.azurite_container = "azurite-container"
self.blob_service_client = None self.blob_service_client = None
self._azurite_port = 0 self._azurite_port = 0

View File

@ -232,7 +232,7 @@ def create_table(
url = f"http://{started_cluster.minio_host}:{started_cluster.minio_port}/{bucket}/{files_path}/" url = f"http://{started_cluster.minio_host}:{started_cluster.minio_port}/{bucket}/{files_path}/"
engine_def = f"{engine_name}('{url}', {auth_params}, {file_format})" engine_def = f"{engine_name}('{url}', {auth_params}, {file_format})"
else: else:
engine_def = f"{engine_name}('{started_cluster.env_variables['AZURITE_CONNECTION_STRING']}', 'cont', '{files_path}/', 'CSV')" engine_def = f"{engine_name}('{started_cluster.env_variables['AZURITE_CONNECTION_STRING']}', '{started_cluster.azurite_container}', '{files_path}/', 'CSV')"
node.query(f"DROP TABLE IF EXISTS {table_name}") node.query(f"DROP TABLE IF EXISTS {table_name}")
create_query = f""" create_query = f"""