[CXX-2000] Don't use admin database for FLE tests Created: 17/Apr/20  Updated: 28/Oct/23  Resolved: 02/Jul/20

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.0-rc0, 3.6.0

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

Issue Links:
Depends
Epic Link: Client Side Encryption (FLE)

 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 [ 02/Jul/20 ]

Author:

{'name': 'samantharitter', 'email': 'samantha.ritter@10gen.com', 'username': 'samantharitter'}

Message: CXX-2000 don't use 'admin' db in FLE tests
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/05a2510c2f0979d22699a6f9abdce2b36bf610fa

Comment by Samantha Ritter (Inactive) [ 30/Jun/20 ]

code review: https://github.com/mongodb/mongo-cxx-driver/pull/681

Generated at Wed Feb 07 22:04:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.