[CSHARP-3065] Don't use admin database for FLE tests Created: 17/Apr/20  Updated: 28/Oct/23  Resolved: 22/Apr/20

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

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

Description of Drivers Ticket:

SERVER-35804 has made it invalid to drop collections on the admin database in a sharded cluster, which has caused FLE tests to fail with duplicate key errors on the "latest" server variant due to step 2 in https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#use-as-integration-tests

Maybe we can get around this by doing a deleteMany({}) instead of a drop?

CC kevin.albertson
See DRIVERS-1194 for updated details.



 Comments   
Comment by Githook User [ 22/Apr/20 ]

Author:

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

Message: CSHARP-3065: Don't use admin database for FLE tests.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0ecfd24882a67f2ca0e56529ef57aae67c1cbcb2

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