test_send_crash_reports: suppress Fatal messages check (due to explicit SIGSEGV)

CI: https://clickhouse-test-reports.s3.yandex.net/0/20d8523a2ebe22c93266e56fc097e273e4c8c68b/integration_tests_(asan).html#fail1
This commit is contained in:
Azat Khuzhin 2021-09-19 00:13:06 +03:00
parent 8f6cb9bd71
commit f242b5e48c

View File

@ -1,6 +1,7 @@
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# pylint: disable=unused-argument # pylint: disable=unused-argument
# pylint: disable=line-too-long # pylint: disable=line-too-long
# pylint: disable=bare-except
import os import os
import time import time
@ -24,7 +25,11 @@ def started_node():
cluster.start() cluster.start()
yield node yield node
finally: finally:
# It will print Fatal message after pkill -SEGV, suppress it
try:
cluster.shutdown() cluster.shutdown()
except:
pass
def test_send_segfault(started_node): def test_send_segfault(started_node):