Skip to content

Commit

Permalink
Merge pull request ClickHouse#58647 from ClickHouse/tavplubix-patch-10
Browse files Browse the repository at this point in the history
Update test_replicated_database/test.py
  • Loading branch information
tavplubix authored Jan 15, 2024
2 parents a9fe9ca + b954667 commit 8bdd654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/test_replicated_database/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ def test_alter_drop_part(started_cluster, engine):
main_node.query(f"INSERT INTO {database}.alter_drop_part VALUES (123)")
if engine == "MergeTree":
dummy_node.query(f"INSERT INTO {database}.alter_drop_part VALUES (456)")
else:
main_node.query(f"SYSTEM SYNC REPLICA {database}.alter_drop_part PULL")
main_node.query(f"ALTER TABLE {database}.alter_drop_part DROP PART '{part_name}'")
assert main_node.query(f"SELECT CounterID FROM {database}.alter_drop_part") == ""
if engine == "ReplicatedMergeTree":
Expand Down

0 comments on commit 8bdd654

Please sign in to comment.