[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: |
|
||||||||
| 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 |
| 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. |