[CSHARP-3168] Restore failPoint.blockTimeMS in isMaster-timeout.json Created: 23/Jul/20  Updated: 31/Mar/22

Status: Backlog
Project: C# Driver
Component/s: Connectivity, Testing
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dmitry Lukyanov (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CSHARP-3662 MongoClientSettings.SocketTimeout doe... Backlog
is related to CSHARP-2964 Reduce Client Time To Recovery On Top... Closed

 Description   

This is a follow-up ticket for the CSHARP-2964. During the ticket implementation, I noticed that sometimes, the socket timeout exception is triggered after exceding the time that is mentioned in ReadTimeout. The gap is relatively small.
The case which I noticed: ReadTimeout: 1.25seconds, but the timeout exception has been thrown only after 1.5 seconds.
This situation led to the failed tests which used `Failpoint.blockTimeMS`.
The used workaround (when we increased blockTimeMS from 1000 to 2000ms) doesn't contradict to the test idea, but we need to investigate the underlying reasons for this behavior and make the full sync of these tests

 

Example of changed json test (the original json value is 1000): https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Driver.Tests/Specifications/server-discovery-and-monitoring/tests/integration/isMaster-timeout.json#L24


Generated at Wed Feb 07 21:44:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.