Skip to content

Commit

Permalink
DRIVERS-2675: Remove use of "sharded-replicaset" (#1443)
Browse files Browse the repository at this point in the history
Although one test does not specify a minServerVersion, "sharded-replicaset" is still redundant since $readPreference is always sent to mongos.
  • Loading branch information
jmikola committed Jul 19, 2023
1 parent c09f979 commit 9d7ceed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions source/run-command/tests/unified/runCommand.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@
{
"topologies": [
"replicaset",
"sharded-replicaset",
"load-balanced",
"sharded"
]
Expand Down Expand Up @@ -493,7 +492,7 @@
{
"minServerVersion": "4.2",
"topologies": [
"sharded-replicaset",
"sharded",
"load-balanced"
]
}
Expand Down
4 changes: 2 additions & 2 deletions source/run-command/tests/unified/runCommand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ tests:
- description: attaches the provided $readPreference to given command
runOnRequirements:
# Exclude single topology, which is most likely a standalone server
- topologies: [ replicaset, sharded-replicaset, load-balanced, sharded ]
- topologies: [ replicaset, load-balanced, sharded ]
operations:
- name: runCommand
object: *db
Expand Down Expand Up @@ -250,7 +250,7 @@ tests:
- minServerVersion: "4.0"
topologies: [ replicaset ]
- minServerVersion: "4.2"
topologies: [ sharded-replicaset, load-balanced ]
topologies: [ sharded, load-balanced ]
operations:
- name: withTransaction
object: *session
Expand Down

0 comments on commit 9d7ceed

Please sign in to comment.