From 68496af33d706fd830d41568f5a3903b63707cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Tue, 9 Apr 2024 10:01:32 +0200 Subject: [PATCH] Enable reporting TSAN errors (#4539) --- .github/workflows/code_sanitizers.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_sanitizers.yml b/.github/workflows/code_sanitizers.yml index c82c31b280..4c8d632f76 100644 --- a/.github/workflows/code_sanitizers.yml +++ b/.github/workflows/code_sanitizers.yml @@ -15,8 +15,12 @@ jobs: - { name: UBSAN, ignore_errors: false } - { name: ASAN, ignore_errors: false, leak_check: false } - { name: ASAN_INT, ignore_errors: true, leak_check: false } - - { name: TSAN, ignore_errors: true } + - { name: TSAN, ignore_errors: false } - { name: LEAK, ignore_errors: true, leak_check: true } + exclude: + # Bug when running with TSAN: "ThreadSanitizer: CHECK failed: sanitizer_deadlock_detector" + - BACKEND: rocksdb + SANITIZER: { name: TSAN } runs-on: ubuntu-22.04 env: COMPILER: ${{ matrix.COMPILER }} @@ -72,7 +76,7 @@ jobs: SANITIZER: - { name: UBSAN, ignore_errors: false } - { name: ASAN, ignore_errors: false } - - { name: TSAN, ignore_errors: true } + - { name: TSAN, ignore_errors: false } runs-on: macos-14 env: COMPILER: ${{ matrix.COMPILER }}