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