We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80fb8c commit b1b5d2cCopy full SHA for b1b5d2c
tests/MongoDB.Driver.Tests/MongoCollectionImplTests.cs
@@ -3429,6 +3429,8 @@ public void Watch_should_support_full_document_with_duplicate_elements()
3429
var client = DriverTestConfiguration.Client;
3430
var database = client.GetDatabase(DriverTestConfiguration.DatabaseNamespace.DatabaseName);
3431
var collection = database.GetCollection<BsonDocument>(DriverTestConfiguration.CollectionNamespace.CollectionName);
3432
+ database.DropCollection(collection.CollectionNamespace.CollectionName); // ensure a clean collection state (e.g. no indexes)
3433
+ collection.InsertOne(new BsonDocument("_id", 1)); // ensure database exists
3434
database.DropCollection(collection.CollectionNamespace.CollectionName);
3435
3436
try
0 commit comments