Commit dca63da4 authored by Oran Agra's avatar Oran Agra
Browse files

Avoid ASAN test errors on crash report tests

Clang Address Sanitizer tests started reporting unknown-crash on these
tests due to the memcheck, disable the memcheck to avoid that noise.

(cherry picked from commit 18ff6a3269a34b9bfe549b34bda9d83c3eae7e2a)
parent 4a5aba16
......@@ -39,7 +39,7 @@ if {!$::valgrind} {
}
set server_path [tmpdir server1.log]
start_server [list overrides [list dir $server_path]] {
start_server [list overrides [list dir $server_path crash-memcheck-enabled no]] {
test "Crash report generated on SIGABRT" {
set pid [s process_id]
exec kill -SIGABRT $pid
......@@ -49,7 +49,7 @@ if {!$::valgrind} {
}
set server_path [tmpdir server2.log]
start_server [list overrides [list dir $server_path]] {
start_server [list overrides [list dir $server_path crash-memcheck-enabled no]] {
test "Crash report generated on DEBUG SEGFAULT" {
catch {r debug segfault}
set res [wait_for_log_messages 0 \"$crash_pattern\" 0 50 100]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment