diff options
-rw-r--r-- | vespalib/src/tests/exception_classes/silenceuncaught_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp b/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp index f94a298d19f..a57dd917ce0 100644 --- a/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp +++ b/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp @@ -29,6 +29,7 @@ TEST("that caught silenced exception causes exitcode 0") { EXPECT_EQUAL(proc.getExitCode(), 0); } +#ifndef __SANITIZE_ADDRESS__ TEST("that mmap within limits are fine cause exitcode 0") { SlaveProc proc("exec ./vespalib_mmap_app 150000000 10485760 1"); proc.wait(); @@ -50,5 +51,6 @@ TEST("that mmap beyond limits with set VESPA_SILENCE_CORE_ON_OOM cause exitcode EXPECT_EQUAL(proc.getExitCode(), 66); } #endif +#endif TEST_MAIN_WITH_PROCESS_PROXY() { TEST_RUN_ALL(); } |