[SERVER-79995] MockSEP not cleaned up properly in AsioGRPCTransportLayerManagerTest Created: 15/Aug/23  Updated: 29/Oct/23  Resolved: 18/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.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

Issue Links:
Problem/Incident
Related
related to SERVER-61095 Improve transport_layer_asio_test.cpp Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2023-08-21
Participants:
Linked BF Score: 59

 Description   

The current implementation of AsioGRPCTransportLayerManagerTest shuts down the transport layer before shutting down the service entry point, which causes an invalid memory access during cleanup of the asio sessions. We should ensure the sessions are cleaned up before shutting down the transport layer to fix this.



 Comments   
Comment by Githook User [ 17/Aug/23 ]

Author:

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

Message: SERVER-79995 Clean up mocked ServiceEntryPoint properly in gRPC TransportLayerManager test
Branch: master
https://github.com/mongodb/mongo/commit/03361bb6f9e5f7f12b478a7a895a0c5b6729a82d

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