Update test.py

This commit is contained in:
Kseniia Sumarokova 2024-03-27 22:29:36 +01:00 committed by GitHub
parent 6a585600f0
commit ffd29f8b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -736,7 +736,10 @@ def test_mutation_with_broken_projection(cluster):
"all_2_2_0_5" in broken or "" == broken
) # second could be because of a merge.
check(node, table_name, 0)
if "" == broken:
check(node, table_name, 1)
else:
check(node, table_name, 0)
node.query(
f"ALTER TABLE {table_name} DELETE WHERE c == 13 SETTINGS mutations_sync = 1"