[SERVER-81590] Unit test assertion failures in gRPC server handler threads do not fail tests Created: 29/Sep/23  Updated: 01/Nov/23  Resolved: 01/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Patrick Freed Assignee: Patrick Freed
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2023-10-02, Service Arch 2023-10-16, Service Arch 2023-10-30, Service Arch 2023-11-13
Participants:

 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.



 Comments   
Comment by Githook User [ 31/Oct/23 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-81590 Ensure test assertion failures in gRPC RPC handlers cause the test to fail
Branch: master
https://github.com/mongodb/mongo/commit/7059e3eadda8e97b9257722e3ba21dfdbfcf25cd

Generated at Thu Feb 08 06:46:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.