Skip to content

Commit 42d6f3c

Browse files
Fix aggregate-out-readConcern tests.
1 parent 1c5493f commit 42d6f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Driver.Tests/Specifications/crud/CrudTestRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ private void PrepareData(string databaseName, string collectionName, BsonDocumen
210210
DriverTestConfiguration
211211
.Client
212212
.GetDatabase(databaseName)
213-
.GetCollection<BsonDocument>(collectionName)
213+
.GetCollection<BsonDocument>(collectionName, new MongoCollectionSettings { WriteConcern = WriteConcern.WMajority })
214214
.InsertMany(data);
215215
}
216216

0 commit comments

Comments
 (0)