Don't print stacktrace in unittest SUCCEED()

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • QE 2026-08-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current implementation of
      `MongoExceptionPrinter::OnTestPartResult(result)` unconditionally prints a stacktrace, although the result parameter could be of type "success" or "skipped".
      Currently this leads to a unit test ending with a `SUCCEED()` macro printing its stacktrace, which is unexpected and also considerably slows down test execution if the `dev_stacktrace` library is linked.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: