Skip to content

Commit 9d7ceed

Browse files
authored
DRIVERS-2675: Remove use of "sharded-replicaset" (#1443)
Although one test does not specify a minServerVersion, "sharded-replicaset" is still redundant since $readPreference is always sent to mongos.
1 parent c09f979 commit 9d7ceed

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

source/run-command/tests/unified/runCommand.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@
229229
{
230230
"topologies": [
231231
"replicaset",
232-
"sharded-replicaset",
233232
"load-balanced",
234233
"sharded"
235234
]
@@ -493,7 +492,7 @@
493492
{
494493
"minServerVersion": "4.2",
495494
"topologies": [
496-
"sharded-replicaset",
495+
"sharded",
497496
"load-balanced"
498497
]
499498
}

source/run-command/tests/unified/runCommand.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ tests:
119119
- description: attaches the provided $readPreference to given command
120120
runOnRequirements:
121121
# Exclude single topology, which is most likely a standalone server
122-
- topologies: [ replicaset, sharded-replicaset, load-balanced, sharded ]
122+
- topologies: [ replicaset, load-balanced, sharded ]
123123
operations:
124124
- name: runCommand
125125
object: *db
@@ -250,7 +250,7 @@ tests:
250250
- minServerVersion: "4.0"
251251
topologies: [ replicaset ]
252252
- minServerVersion: "4.2"
253-
topologies: [ sharded-replicaset, load-balanced ]
253+
topologies: [ sharded, load-balanced ]
254254
operations:
255255
- name: withTransaction
256256
object: *session

0 commit comments

Comments
 (0)