[SERVER-77369] Remove unnecessary test assertion in hedged_async_rpc_test Created: 22/May/23  Updated: 29/Oct/23  Resolved: 13/Jun/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: Alex Li Assignee: Alex Li
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2023-05-29, Service Arch 2023-06-12, Service Arch 2023-06-26
Participants:
Linked BF Score: 132

 Description   

In hedged_async_rpc_test, a test intending to only validate maxTimeMSOpOnly being set to opCtx deadline checks the NetworkInterfaceMock counters for counters.cancelled == 1. There is nothing to prevent deadline from expiring and counters.failed being incremented instead of counters.canceled, so remove the assertions.



 Comments   
Comment by Githook User [ 13/Jun/23 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'lia394126'}

Message: SERVER-77369 Remove unnecessary test assertion in hedged_async_rpc_test
Branch: master
https://github.com/mongodb/mongo/commit/46ab5002b1bce2da7fc2a86dc98b8a6fa7fb0f9c

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