Merge pull request #67223 from ClickHouse/fix-test-pkill

Fix flaky `test_pkill_query_log` (tsan)
This commit is contained in:
Sergei Trifonov 2024-07-26 17:57:11 +00:00 committed by GitHub
commit 8943561372
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,6 +60,13 @@ def test_pkill(started_node):
def test_pkill_query_log(started_node): def test_pkill_query_log(started_node):
if (
started_node.is_built_with_thread_sanitizer()
or started_node.is_built_with_address_sanitizer()
or started_node.is_built_with_memory_sanitizer()
):
pytest.skip("doesn't fit in timeouts for stacktrace generation")
for signal in ["SEGV", "4"]: for signal in ["SEGV", "4"]:
# force create query_log if it was not created # force create query_log if it was not created
started_node.query("SYSTEM FLUSH LOGS") started_node.query("SYSTEM FLUSH LOGS")