[CSHARP-4455] Fix test assertation in OnDemandCredentialsTest Created: 16/Dec/22  Updated: 28/Oct/23  Resolved: 17/Dec/22

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

Type: Task 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


 Description   

CSFLE OnDemandCredentialTest assumes that if environment is not expected, it will always fail with a particular exception. However, in rare cases it fails with a different exception. See this patch for details. We should fix it



 Comments   
Comment by Githook User [ 17/Dec/22 ]

Author:

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

Message: CSHARP-4455: Fix test assertation. (#994)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/15351350dd1acc707853f0310a92cb74185ce361

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