Skip to content

Commit

Permalink
PHPLIB-739, PHPLIB-745: Update aggregate-write-readPreference tests
Browse files Browse the repository at this point in the history
Skips $out tests for serverless environments and bumps minServerVersion to 4.2 for tests expecting a readConcern to be passed alongside a write stage.

Synced with mongodb/specifications@dce2c48
  • Loading branch information
jmikola committed Oct 20, 2021
1 parent 88d74b8 commit b0bbd65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "aggregate-write-readPreference",
"schemaVersion": "1.3",
"schemaVersion": "1.4",
"runOnRequirements": [
{
"minServerVersion": "3.6",
Expand Down Expand Up @@ -90,7 +90,8 @@
"description": "Aggregate with $out includes read preference for 5.0+ server",
"runOnRequirements": [
{
"minServerVersion": "5.0"
"minServerVersion": "5.0",
"serverless": "forbid"
}
],
"operations": [
Expand Down Expand Up @@ -180,7 +181,9 @@
"description": "Aggregate with $out omits read preference for pre-5.0 server",
"runOnRequirements": [
{
"maxServerVersion": "4.4.99"
"minServerVersion": "4.2",
"maxServerVersion": "4.4.99",
"serverless": "forbid"
}
],
"operations": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"description": "Database-level aggregate with $out includes read preference for 5.0+ server",
"runOnRequirements": [
{
"minServerVersion": "5.0"
"minServerVersion": "5.0",
"serverless": "forbid"
}
],
"operations": [
Expand Down Expand Up @@ -157,7 +158,9 @@
"description": "Database-level aggregate with $out omits read preference for pre-5.0 server",
"runOnRequirements": [
{
"maxServerVersion": "4.4.99"
"minServerVersion": "4.2",
"maxServerVersion": "4.4.99",
"serverless": "forbid"
}
],
"operations": [
Expand Down

0 comments on commit b0bbd65

Please sign in to comment.