[JAVA-3702] Don't use admin database for FLE tests Created: 17/Apr/20  Updated: 07/May/20  Resolved: 22/Apr/20

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Ross Lawley
Resolution: Done 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 [ 07/May/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Use keyvault database for FLE tests

JAVA-3702
Branch: 3.12.x
https://github.com/mongodb/mongo-java-driver/commit/3fe1ff2d74ca51242248910439cbb4cde7b3a1ad

Comment by Githook User [ 22/Apr/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Use keyvault database for FLE tests

JAVA-3702
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/53d05afd971b0ce1a2c7d4c5c98566327e74b244

Comment by Ross Lawley [ 22/Apr/20 ]

https://github.com/rozza/mongo-java-driver/pull/378

Generated at Thu Feb 08 09:00:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.