mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update test
This commit is contained in:
parent
0a5ce69880
commit
6a585600f0
@ -728,10 +728,13 @@ def test_mutation_with_broken_projection(cluster):
|
||||
# but all parts apart from the first have only hardlinks to files in previous part.
|
||||
assert ["all_0_0_0_5", "all_1_1_0_5", "all_2_2_0_5", "all_3_3_0_5"] == get_parts(
|
||||
node, table_name
|
||||
)
|
||||
) or ["all_1_1_0_5", "all_2_2_0_5", "all_3_3_0_5"] == get_parts(node, table_name)
|
||||
|
||||
# Still broken because it was hardlinked.
|
||||
assert "all_2_2_0_5" in get_broken_projections_info(node, table_name)
|
||||
broken = get_broken_projections_info(node, table_name)
|
||||
assert (
|
||||
"all_2_2_0_5" in broken or "" == broken
|
||||
) # second could be because of a merge.
|
||||
|
||||
check(node, table_name, 0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user