From 6c351b25b8761b07854e2cc1d8ea0945f8be06d4 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 13 Mar 2024 11:21:21 -0400 Subject: [PATCH] DRIVERS-2855: Skip $out and mapReduce tests on serverless (#1550) This was missed in bfb6a841819e117aa7f066beae4cfa9da7690a1b --- .../tests/operation/default-write-concern-3.4.json | 12 +++++++++++- .../tests/operation/default-write-concern-3.4.yml | 8 +++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/source/read-write-concern/tests/operation/default-write-concern-3.4.json b/source/read-write-concern/tests/operation/default-write-concern-3.4.json index e3add98761..e18cdfc0c4 100644 --- a/source/read-write-concern/tests/operation/default-write-concern-3.4.json +++ b/source/read-write-concern/tests/operation/default-write-concern-3.4.json @@ -1,6 +1,6 @@ { "description": "default-write-concern-3.4", - "schemaVersion": "1.0", + "schemaVersion": "1.4", "runOnRequirements": [ { "minServerVersion": "3.4" @@ -55,6 +55,11 @@ "tests": [ { "description": "Aggregate with $out omits default write concern", + "runOnRequirements": [ + { + "serverless": "forbid" + } + ], "operations": [ { "object": "collection0", @@ -220,6 +225,11 @@ }, { "description": "MapReduce omits default write concern", + "runOnRequirements": [ + { + "serverless": "forbid" + } + ], "operations": [ { "name": "mapReduce", diff --git a/source/read-write-concern/tests/operation/default-write-concern-3.4.yml b/source/read-write-concern/tests/operation/default-write-concern-3.4.yml index 6471952432..7596208868 100644 --- a/source/read-write-concern/tests/operation/default-write-concern-3.4.yml +++ b/source/read-write-concern/tests/operation/default-write-concern-3.4.yml @@ -3,7 +3,7 @@ description: default-write-concern-3.4 -schemaVersion: "1.0" +schemaVersion: "1.4" runOnRequirements: - minServerVersion: "3.4" @@ -40,6 +40,9 @@ initialData: tests: - description: Aggregate with $out omits default write concern + # Serverless does not support $out stage + runOnRequirements: + - serverless: forbid operations: - object: *collection0 @@ -116,6 +119,9 @@ tests: writeConcern: { $$exists: false } - description: MapReduce omits default write concern + # Serverless does not support mapReduce operation + runOnRequirements: + - serverless: forbid operations: - name: mapReduce