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 9f972a3 commit a03f404Copy full SHA for a03f404
tests/MongoDB.Driver.Tests/MongoCollectionImplTests.cs
@@ -3216,6 +3216,8 @@ public void Watch_should_support_full_document_with_duplicate_elements()
3216
var client = DriverTestConfiguration.Client;
3217
var database = client.GetDatabase(DriverTestConfiguration.DatabaseNamespace.DatabaseName);
3218
var collection = database.GetCollection<BsonDocument>(DriverTestConfiguration.CollectionNamespace.CollectionName);
3219
+ database.DropCollection(collection.CollectionNamespace.CollectionName); // ensure a clean collection state (e.g. no indexes)
3220
+ collection.InsertOne(new BsonDocument("_id", 1)); // ensure database exists
3221
database.DropCollection(collection.CollectionNamespace.CollectionName);
3222
3223
try
0 commit comments