Skip to content

Commit

Permalink
fix benchmark on 22.X aws/gcs
Browse files Browse the repository at this point in the history
  • Loading branch information
strtgbb committed Jan 23, 2025
1 parent 17d3be6 commit e791074
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ontime_benchmark/tests/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ def create_ontime_table(self, table_name, table_settings, node=None):

try:
with When(f"I create {table_name} table with ontime data structure"):
if self.context.stress or self.context.storage == "minio":
if (
self.context.stress
or self.context.storage == "minio"
or check_clickhouse_version("<23")(self)
):
node.query(textwrap.dedent(full_table_create), use_file=True)
else:
node.query(textwrap.dedent(minimal_table_create), use_file=True)
Expand Down

0 comments on commit e791074

Please sign in to comment.