[SERVER-74010] Mock the behavior of `ServerContext` and `ServerReaderWriter` Created: 14/Feb/23  Updated: 29/Oct/23  Resolved: 24/Mar/23

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

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

Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-03-06, Service Arch 2023-03-20, Service Arch 2023-04-03
Participants:

 Description   

ServerContext and ServerReaderWriter provide the server-side access to gRPC bidirectional streams. The goal of this ticket is to provide mocking behavior for testing IngressSession, allowing testing the new session type in isolation.



 Comments   
Comment by Githook User [ 12/Jul/23 ]

Author:

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

Message: SERVER-74010 Fix race in MockServerStream tryCancel tests (BF-29285)
Branch: master
https://github.com/mongodb/mongo/commit/d656e77ceb387f83ed157f5a9601276a4ff9d546

Comment by Githook User [ 24/Mar/23 ]

Author:

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

Message: SERVER-74010 Mock the behavior of gRPC's `ServerContext` and `ServerReaderWriter`
Branch: master
https://github.com/mongodb/mongo/commit/c996443246b9b8b3f13abd12e718d374a7324d2c

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