mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Merge pull request #61477 from CurtizJ/fix-test-polymorphic-parts
Fix test `test_polymorphic_parts`
This commit is contained in:
commit
24e77a6b5a
@ -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