Updated unique names for test to avoid same names by random numbers

This commit is contained in:
Smita Kulkarni 2023-06-14 11:00:11 +02:00
parent 918b8c4585
commit c98a194b57

View File

@ -300,10 +300,10 @@ def test_put_get_with_globs(cluster):
azure_query(
node,
f"CREATE TABLE test_{i}_{j} ({table_format}) Engine = AzureBlobStorage(azure_conf2, container='cont', blob_path='{path}', format='CSV')",
f"CREATE TABLE test_put_{i}_{j} ({table_format}) Engine = AzureBlobStorage(azure_conf2, container='cont', blob_path='{path}', format='CSV')",
)
query = f"insert into test_{i}_{j} VALUES {values}"
query = f"insert into test_put_{i}_{j} VALUES {values}"
azure_query(node, query)
azure_query(
@ -332,9 +332,9 @@ def test_azure_glob_scheherazade(cluster):
unique_num = random.randint(1, 10000)
azure_query(
node,
f"CREATE TABLE test_{i}_{unique_num} ({table_format}) Engine = AzureBlobStorage(azure_conf2, container='cont', blob_path='{path}', format='CSV')",
f"CREATE TABLE test_scheherazade_{i}_{unique_num} ({table_format}) Engine = AzureBlobStorage(azure_conf2, container='cont', blob_path='{path}', format='CSV')",
)
query = f"insert into test_{i}_{unique_num} VALUES {values}"
query = f"insert into test_scheherazade_{i}_{unique_num} VALUES {values}"
azure_query(node, query)
jobs.append(