Skip to content

Commit

Permalink
GODRIVER-3359 Sync unified spec tests (#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez authored Nov 12, 2024
1 parent cf0348c commit 91abd88
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
12 changes: 11 additions & 1 deletion testdata/index-management/createSearchIndex.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@
],
"runOnRequirements": [
{
"minServerVersion": "7.0.0",
"minServerVersion": "7.0.5",
"maxServerVersion": "7.0.99",
"topologies": [
"replicaset",
"load-balanced",
"sharded"
],
"serverless": "forbid"
},
{
"minServerVersion": "7.2.0",
"topologies": [
"replicaset",
"load-balanced",
Expand Down
8 changes: 7 additions & 1 deletion testdata/index-management/createSearchIndex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ createEntities:
collectionName: *collection0

runOnRequirements:
- minServerVersion: "7.0.0"
# Skip server versions without fix of SERVER-83107 to avoid error message "BSON field 'createSearchIndexes.indexes.type' is an unknown field."
# SERVER-83107 was not backported to 7.1.
- minServerVersion: "7.0.5"
maxServerVersion: "7.0.99"
topologies: [ replicaset, load-balanced, sharded ]
serverless: forbid
- minServerVersion: "7.2.0"
topologies: [ replicaset, load-balanced, sharded ]
serverless: forbid

Expand Down
12 changes: 11 additions & 1 deletion testdata/index-management/createSearchIndexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@
],
"runOnRequirements": [
{
"minServerVersion": "7.0.0",
"minServerVersion": "7.0.5",
"maxServerVersion": "7.0.99",
"topologies": [
"replicaset",
"load-balanced",
"sharded"
],
"serverless": "forbid"
},
{
"minServerVersion": "7.2.0",
"topologies": [
"replicaset",
"load-balanced",
Expand Down
8 changes: 7 additions & 1 deletion testdata/index-management/createSearchIndexes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ createEntities:
collectionName: *collection0

runOnRequirements:
- minServerVersion: "7.0.0"
# Skip server versions without fix of SERVER-83107 to avoid error message "BSON field 'createSearchIndexes.indexes.type' is an unknown field."
# SERVER-83107 was not backported to 7.1.
- minServerVersion: "7.0.5"
maxServerVersion: "7.0.99"
topologies: [ replicaset, load-balanced, sharded ]
serverless: forbid
- minServerVersion: "7.2.0"
topologies: [ replicaset, load-balanced, sharded ]
serverless: forbid

Expand Down

0 comments on commit 91abd88

Please sign in to comment.