disable test under msan

This commit is contained in:
Nikita Mikhaylov 2021-05-31 17:30:02 +03:00
parent 00ce7feafb
commit f3c81f4c9b
2 changed files with 5 additions and 5 deletions

View File

@ -351,14 +351,14 @@ private:
} }
#endif #endif
/// Send crash report to developers (if configured)
if (sig != SanitizerTrap)
SentryWriter::onFault(sig, error_message, stack_trace);
/// Write crash to system.crash_log table if available. /// Write crash to system.crash_log table if available.
if (collectCrashLog) if (collectCrashLog)
collectCrashLog(sig, thread_num, query_id, stack_trace); collectCrashLog(sig, thread_num, query_id, stack_trace);
/// Send crash report to developers (if configured)
if (sig != SanitizerTrap)
SentryWriter::onFault(sig, error_message, stack_trace);
/// When everything is done, we will try to send these error messages to client. /// When everything is done, we will try to send these error messages to client.
if (thread_ptr) if (thread_ptr)
thread_ptr->onFatalError(); thread_ptr->onFatalError();

View File

@ -24,7 +24,7 @@ def started_node():
def test_send_segfault(started_node): def test_send_segfault(started_node):
if started_node.is_built_with_thread_sanitizer(): if started_node.is_built_with_thread_sanitizer() or started_node.is_built_with_memory_sanitizer():
pytest.skip("doesn't fit in timeouts for stacktrace generation") pytest.skip("doesn't fit in timeouts for stacktrace generation")
started_node.copy_file_to_container(os.path.join(SCRIPT_DIR, "fake_sentry_server.py"), "/fake_sentry_server.py") started_node.copy_file_to_container(os.path.join(SCRIPT_DIR, "fake_sentry_server.py"), "/fake_sentry_server.py")