Skip to content

Commit ff7badd

Browse files
committed
alter runCommand spec tests based on related ticket DRIVERS-2675
1 parent 70b807f commit ff7badd

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

testdata/run-command/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
}

testdata/run-command/runCommand.yml

Lines changed: 3 additions & 3 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
@@ -143,7 +143,7 @@ tests:
143143
# This test assumes that the single topology contains a standalone server;
144144
# however, it is possible for a single topology to contain a direct
145145
# connection to another server type.
146-
# See: https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst#topology-type-single
146+
# See: https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.md#topology-type-single
147147
- topologies: [ single ]
148148
operations:
149149
- name: runCommand
@@ -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)