From 5296166330672a90f3f672933cdaddc4d3cf4a36 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 17 May 2024 09:15:55 -0400 Subject: [PATCH] GODRIVER-3218 [master] Skip Aggregation with Crud Tests on 8.0+ (#1643) --- 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