Skip to content

Commit

Permalink
DRIVERS-2385: Skip aggregate-merge-errorResponse test on sharded clus…
Browse files Browse the repository at this point in the history
…ters

This was missed in 081578a
  • Loading branch information
jmikola committed Oct 14, 2022
1 parent 081578a commit 5f8d058
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/crud/tests/unified/aggregate-merge-errorResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
"description": "aggregate $merge DuplicateKey error is accessible",
"runOnRequirements": [
{
"minServerVersion": "5.1"
"minServerVersion": "5.1",
"topologies": [
"single",
"replicaset"
]
}
],
"operations": [
Expand Down
3 changes: 3 additions & 0 deletions source/crud/tests/unified/aggregate-merge-errorResponse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ tests:
- description: "aggregate $merge DuplicateKey error is accessible"
runOnRequirements:
- minServerVersion: "5.1" # SERVER-59097
# Exclude sharded topologies since the aggregate command fails with
# IllegalOperation(20) instead of DuplicateKey(11000)
topologies: [ single, replicaset ]
operations:
- name: aggregate
object: *database0
Expand Down

0 comments on commit 5f8d058

Please sign in to comment.