From 345ea9574e28732ca4f9d7d3bb9c103c897a65b8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 15 May 2024 09:50:16 -0500 Subject: [PATCH] GODRIVER-3218 Skip Aggregation with Crud Tests on 8.0+ (#1642) --- testdata/crud/unified/aggregate-write-readPreference.json | 3 ++- testdata/crud/unified/aggregate-write-readPreference.yml | 2 ++ testdata/crud/unified/db-aggregate-write-readPreference.json | 3 ++- testdata/crud/unified/db-aggregate-write-readPreference.yml | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/testdata/crud/unified/aggregate-write-readPreference.json b/testdata/crud/unified/aggregate-write-readPreference.json index bc887e83cb..b50592a98f 100644 --- a/testdata/crud/unified/aggregate-write-readPreference.json +++ b/testdata/crud/unified/aggregate-write-readPreference.json @@ -91,7 +91,8 @@ "runOnRequirements": [ { "minServerVersion": "5.0", - "serverless": "forbid" + "serverless": "forbid", + "maxServerVersion": "7.99" } ], "operations": [ diff --git a/testdata/crud/unified/aggregate-write-readPreference.yml b/testdata/crud/unified/aggregate-write-readPreference.yml index 86f5a4399c..4959588095 100644 --- a/testdata/crud/unified/aggregate-write-readPreference.yml +++ b/testdata/crud/unified/aggregate-write-readPreference.yml @@ -60,6 +60,8 @@ tests: runOnRequirements: - minServerVersion: "5.0" serverless: "forbid" + # GODRIVER-3218 + maxServerVersion: "7.99" operations: - object: *collection0 name: aggregate diff --git a/testdata/crud/unified/db-aggregate-write-readPreference.json b/testdata/crud/unified/db-aggregate-write-readPreference.json index 2a81282de8..10f583269c 100644 --- a/testdata/crud/unified/db-aggregate-write-readPreference.json +++ b/testdata/crud/unified/db-aggregate-write-readPreference.json @@ -65,7 +65,8 @@ "runOnRequirements": [ { "minServerVersion": "5.0", - "serverless": "forbid" + "serverless": "forbid", + "maxServerVersion": "7.99" } ], "operations": [ diff --git a/testdata/crud/unified/db-aggregate-write-readPreference.yml b/testdata/crud/unified/db-aggregate-write-readPreference.yml index 04a3b2169f..eb0fb09bd0 100644 --- a/testdata/crud/unified/db-aggregate-write-readPreference.yml +++ b/testdata/crud/unified/db-aggregate-write-readPreference.yml @@ -53,6 +53,8 @@ tests: runOnRequirements: - minServerVersion: "5.0" serverless: "forbid" + # GODRIVER-3218 + maxServerVersion: "7.99" operations: - object: *database0 name: aggregate