Disable long tests with sanitizers

This commit is contained in:
Nikita Mikhaylov 2024-09-06 13:48:20 +02:00
parent 1b71ad26ee
commit fde9f23829
2 changed files with 14 additions and 0 deletions

View File

@ -343,6 +343,13 @@ def test_increment_backup_without_changes():
def test_incremental_backup_overflow():
if (
instance.is_built_with_thread_sanitizer()
or instance.is_built_with_memory_sanitizer()
or instance.is_built_with_address_sanitizer()
):
pytest.skip("The test is slow in builds with sanitizer")
backup_name = new_backup_name()
incremental_backup_name = new_backup_name()

View File

@ -154,6 +154,13 @@ def test_aggregate_states(start_cluster):
def test_string_functions(start_cluster):
if (
upstream.is_built_with_thread_sanitizer()
or upstream.is_built_with_memory_sanitizer()
or upstream.is_built_with_address_sanitizer()
):
pytest.skip("The test is slow in builds with sanitizer")
functions = backward.query(
"""
SELECT if(NOT empty(alias_to), alias_to, name)