Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48887

C++ death tests should fail on TSAN exit code

    • Fully Compatible
    • ALL
    • Security 2020-06-29, Security 2020-07-13

      If a fork() child of a death test fails due to a thread sanitizer failure, it is only detected as a failure due to SERVER-48661.

      Since tests are typically run as follows:
      TSAN_OPTIONS="suppressions=etc/tsan.suppressions:halt_on_error=1" ./cpp_unit_test

      we should instead assert the child exit code is not 66 (default TSAN exit code).

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: