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 22, 2023
1 parent 13b4e9b commit e3e4a9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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
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 e3e4a9c

Please sign in to comment.