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