Skip to content

Commit 938a402

Browse files
DRIVERS-2188 Skip comment error test on sharded (#1192)
1 parent c430376 commit 938a402

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

source/crud/tests/unified/estimatedDocumentCount-comment.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,11 @@
125125
"runOnRequirements": [
126126
{
127127
"minServerVersion": "3.6.0",
128-
"maxServerVersion": "4.4.13"
128+
"maxServerVersion": "4.4.13",
129+
"topologies": [
130+
"single",
131+
"replicaset"
132+
]
129133
}
130134
],
131135
"operations": [

source/crud/tests/unified/estimatedDocumentCount-comment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ tests:
6868
runOnRequirements:
6969
- minServerVersion: "3.6.0"
7070
maxServerVersion: "4.4.13"
71+
# Server does not raise an error if topology is sharded.
72+
# https://jira.mongodb.org/browse/SERVER-65954
73+
topologies: [ single, replicaset ]
7174
operations:
7275
- name: estimatedDocumentCount
7376
object: *collection0

0 commit comments

Comments
 (0)