[CSHARP-4070] Fix flaky Ensure_command_network_error_before_hadnshake_is_correctly_handled test Created: 21/Feb/22  Updated: 28/Oct/23  Resolved: 08/Mar/22

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.16.0

Type: Improvement Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improve Testing

 Description   

https://evergreen.mongodb.com/test_log/dot_net_driver_secure_tests__version~latest_os~windows_64_topology~sharded_cluster_auth~auth_ssl~ssl_test_netstandard21_patch_fd5e3f78e86c7ac0d883a344cfc25def118d350e_62140ee232f4176b1fd70f68_22_02_21_22_15_13/0?test_name=0abb3822c0c8123a4ed3a6591bf9bdf8&group_id=&text=true

The issue is related to the fact that we managed RTT and ServerMonitor connections with the same mock object. This gave some race issues. The solution is described in this commit



 Comments   
Comment by Githook User [ 08/Mar/22 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-4070: Fix flaky Ensure_command_network_error_before_hadnshake_is_correctly_handled test. (#743)

CSHARP-4070: Fix flaky Ensure_command_network_error_before_hadnshake_is_correctly_handled test.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/d7b05569a532f43ba6e1d3d5229bcde96a816872

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