summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2022-12-11 18:20:42 +0200
committerGitHub <noreply@github.com>2022-12-11 18:20:42 +0200
commitb56bb720333b3daf34b9e3756a6ddd7082d192b8 (patch)
tree66202aee0aae9958680418b82f7f628ff689e10f /tests/integration
parent20854cb6109c23e65dca0174517f3861a55cb694 (diff)
downloadredis-b56bb720333b3daf34b9e3756a6ddd7082d192b8.tar.gz
Avoid ASAN test errors on crash report tests (#11605)
Clang Address Sanitizer tests started reporting unknown-crash on these tests due to the memcheck, disable the memcheck to avoid that noise.
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/logging.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/logging.tcl b/tests/integration/logging.tcl
index 8617ed2fc..4f8639be0 100644
--- a/tests/integration/logging.tcl
+++ b/tests/integration/logging.tcl
@@ -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]