mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
fix test_polymorphic_parts
This commit is contained in:
parent
e50ebe13f2
commit
bc6cd6e769
@ -332,7 +332,13 @@ def test_different_part_types_on_replicas(start_cluster, table, part_type):
|
||||
for _ in range(3):
|
||||
insert_random_data(table, leader, 100)
|
||||
|
||||
leader.query("OPTIMIZE TABLE {} FINAL".format(table))
|
||||
exec_query_with_retry(
|
||||
leader,
|
||||
"OPTIMIZE TABLE {} FINAL".format(table),
|
||||
settings={"optimize_throw_if_noop": 1},
|
||||
silent=True,
|
||||
)
|
||||
|
||||
follower.query("SYSTEM SYNC REPLICA {}".format(table), timeout=20)
|
||||
|
||||
expected = "{}\t1\n".format(part_type)
|
||||
|
Loading…
Reference in New Issue
Block a user