From d28847c088c93b4cc90cb1a1fa4ccabd121c3603 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 16 Jun 2023 15:58:11 -0400 Subject: [PATCH] DRIVERS-2612: Require 7.0+ for explain apiVersion bug fix 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. --- source/client-side-encryption/tests/legacy/explain.json | 2 +- source/client-side-encryption/tests/legacy/explain.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client-side-encryption/tests/legacy/explain.json b/source/client-side-encryption/tests/legacy/explain.json index 0e451e4818..8ca3b48d37 100644 --- a/source/client-side-encryption/tests/legacy/explain.json +++ b/source/client-side-encryption/tests/legacy/explain.json @@ -1,7 +1,7 @@ { "runOn": [ { - "minServerVersion": "4.1.10" + "minServerVersion": "7.0.0" } ], "database_name": "default", diff --git a/source/client-side-encryption/tests/legacy/explain.yml b/source/client-side-encryption/tests/legacy/explain.yml index c0dd9c57c0..325928a72e 100644 --- a/source/client-side-encryption/tests/legacy/explain.yml +++ b/source/client-side-encryption/tests/legacy/explain.yml @@ -1,5 +1,5 @@ runOn: - - minServerVersion: "4.1.10" + - minServerVersion: "7.0.0" database_name: &database_name "default" collection_name: &collection_name "default"