mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Change name of default azurite container to avoid clashing with azure blob storage tests
This commit is contained in:
parent
7b1bca2b48
commit
d18b6c63d4
@ -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
|
||||||
|
|
||||||
|
@ -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"""
|
||||||
|
Loading…
Reference in New Issue
Block a user