Fix integration tests

This commit is contained in:
Robert Schulze 2024-07-08 20:46:56 +00:00
parent 7f30508559
commit 85f5fe832a
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 3 additions and 1 deletions

View File

@ -168,6 +168,8 @@ def test_string_functions(start_cluster):
"filesystemAvailable",
# Exclude it for now. Looks like the result depends on the build type.
"farmHash64",
# Removed in 24.7
"partitionId",
]
functions = filter(lambda x: x not in excludes, functions)

View File

@ -266,7 +266,7 @@ def test_lost_last_part(start_cluster):
"ALTER TABLE mt3 UPDATE id = 777 WHERE 1", settings={"mutations_sync": "0"}
)
partition_id = node1.query("select _partition_id").strip()
partition_id = node1.query("select distinct _partition_id from mt3 where p = 'x'").strip()
remove_part_from_disk(node1, "mt3", f"{partition_id}_0_0_0")
# other way to detect broken parts