generated from SwissLife-OSS/template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade MongoDB.Driver dependency to version 2.21.0 (#87)
* Upgrade MongoDB.Driver dependency to version 2.21.0 Version 2.21.0 of [MongoDB.Driver][1] introduced a [breaking change][2] by adding a `SearchIndexes` property to the `IMongoCollection` interface. This commit implements this new property in order to avoid the following exception: > **System.TypeLoadException** > Method 'get_SearchIndexes' in type 'MongoDB.Extensions.Transactions.MongoTransactionCollection`1' from assembly 'MongoDB.Extensions.Transactions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. [1]: https://www.nuget.org/packages/MongoDB.Driver/2.21.0 [2]: https://jira.mongodb.org/browse/CSHARP-4660?focusedCommentId=5628278&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-5628278 * Fix brittle test by excluding fields that are not relevant and which may change * Exclude the whole execStats from the snapshot This can change dramatically between mongo versions. This is exactly what happened when pulling mongo:latest a few days apart.
- Loading branch information
Showing
4 changed files
with
6 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters