PYTHON-2120 Skip failing ChangeStream tests on 4.4

This commit is contained in:
Shane Harvey 2020-02-10 11:32:30 -08:00
parent 5ccdf1af44
commit 9079596bf0
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@
{
"description": "Change Stream should error when _id is projected out",
"minServerVersion": "4.1.11",
"maxServerVersion": "4.3.3",
"target": "collection",
"topology": [
"replicaset",

View File

@ -517,6 +517,7 @@ class ProseSpecTestsMixin(object):
self._test_update_resume_token(self._get_expected_resume_token_legacy)
# Prose test no. 2
@client_context.require_version_max(4, 3, 3) # PYTHON-2120
@client_context.require_version_min(4, 1, 8)
def test_raises_error_on_missing_id_418plus(self):
# Server returns an error on 4.1.8+