Skip to content

Commit

Permalink
DRIVERS-2612: Require 7.0+ for explain apiVersion bug fix
Browse files Browse the repository at this point in the history
In previous server versions, apiVersion is not properly appended to the root of an explain command document.

When testing with requireApiVersion=1, that can cause test failures if the driver does not have additional logic to always append the field to a crypt_shared/mongocryptd respnse.
  • Loading branch information
jmikola committed Jun 16, 2023
1 parent a10e270 commit d28847c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/client-side-encryption/tests/legacy/explain.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"runOn": [
{
"minServerVersion": "4.1.10"
"minServerVersion": "7.0.0"
}
],
"database_name": "default",
Expand Down
2 changes: 1 addition & 1 deletion source/client-side-encryption/tests/legacy/explain.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
runOn:
- minServerVersion: "4.1.10"
- minServerVersion: "7.0.0"
database_name: &database_name "default"
collection_name: &collection_name "default"

Expand Down

0 comments on commit d28847c

Please sign in to comment.