[CSHARP-2755] Prevent exceptions in legacy testing during client init Created: 25/Sep/19  Updated: 26/Sep/19  Resolved: 26/Sep/19

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

Type: Bug Priority: Major - P3
Reporter: Vincent Kam (Inactive) Assignee: Vincent Kam (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by CSHARP-2756 CompressorConfiguration must implemen... Closed

 Description   

The test TestFindAndRemoveWithMaxTime() fails in the snappy branch because GetPrimary throws an exception while the client is determining the topology.



 Comments   
Comment by Vincent Kam (Inactive) [ 26/Sep/19 ]

Fixed by CSHARP-2576

Comment by Robert Stam [ 25/Sep/19 ]

The underlying cause was found to be that CompressorConfiguration did not implement Equals.

Comment by Robert Stam [ 25/Sep/19 ]

While it is true that `GetPrimary` has a potential race condition, why has this never been encountered before?

There must be some other underlying issue that is causing this, and we should find that.

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