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

Unit test assertion failures in gRPC server handler threads do not fail tests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2023-10-02, Service Arch 2023-10-16, Service Arch 2023-10-30, Service Arch 2023-11-13

    Description

      Because gRPC server handler functions run on threads spawned by gRPC, any assertion failure exceptions are caught but do not fail the top level test. This can lead to test failures improperly being marked as successes (example). We should ensure that server handlers properly terminate the tests.

      Attachments

        Activity

          People

            patrick.freed@mongodb.com Patrick Freed
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: