C++ death tests should fail on TSAN exit code

XMLWordPrintableJSON

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

      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
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: