[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: |