Skip to content

Commit

Permalink
Merge pull request #475 from Altinity/update_names_lightweight_suite
Browse files Browse the repository at this point in the history
add backtics
  • Loading branch information
Selfeer authored Feb 28, 2024
2 parents d189e6e + a7bae7f commit 30ac189
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ def check_table_names(self, table_name):
with Then(f"I check that the {table_name} was created in the ClickHouse side"):
for retry in retries(timeout=40, delay=1):
with retry:
clickhouse_node.query(f"EXISTS test.{table_name}", message="1")
clickhouse_node.query(f"EXISTS test.\`{table_name}\`", message="1")

with And("I check that the data was inserted correctly into the ClickHouse table"):
for retry in retries(timeout=40, delay=1):
with retry:
clickhouse_data = clickhouse_node.query(
f"SELECT id,x FROM test.{table_name} FORMAT CSV"
f"SELECT id,x FROM test.\`{table_name}\` FORMAT CSV"
)
assert clickhouse_data.output.strip() == "1,1", error()

Expand Down

0 comments on commit 30ac189

Please sign in to comment.