diff --git a/source/crud/tests/unified/estimatedDocumentCount-comment.json b/source/crud/tests/unified/estimatedDocumentCount-comment.json index e75dab50a8..6c0adacc8f 100644 --- a/source/crud/tests/unified/estimatedDocumentCount-comment.json +++ b/source/crud/tests/unified/estimatedDocumentCount-comment.json @@ -125,7 +125,11 @@ "runOnRequirements": [ { "minServerVersion": "3.6.0", - "maxServerVersion": "4.4.13" + "maxServerVersion": "4.4.13", + "topologies": [ + "single", + "replicaset" + ] } ], "operations": [ diff --git a/source/crud/tests/unified/estimatedDocumentCount-comment.yml b/source/crud/tests/unified/estimatedDocumentCount-comment.yml index d0f7953976..b785315104 100644 --- a/source/crud/tests/unified/estimatedDocumentCount-comment.yml +++ b/source/crud/tests/unified/estimatedDocumentCount-comment.yml @@ -68,6 +68,9 @@ tests: runOnRequirements: - minServerVersion: "3.6.0" maxServerVersion: "4.4.13" + # Server does not raise an error if topology is sharded. + # https://jira.mongodb.org/browse/SERVER-65954 + topologies: [ single, replicaset ] operations: - name: estimatedDocumentCount object: *collection0