Skip to content

Commit b8f857d

Browse files
authored
PYTHON-3292 Remove ElectionInProgress (216) from ResumableChangeStreamError (#996)
1 parent 751949a commit b8f857d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pymongo/change_stream.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
13388, # StaleConfig
5858
234, # RetryChangeStream
5959
133, # FailedToSatisfyReadPreference
60-
216, # ElectionInProgress
6160
]
6261
)
6362

test/change_streams/unified/change-streams-errors.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
"description": "change stream errors on ElectionInProgress",
188188
"runOnRequirements": [
189189
{
190-
"minServerVersion": "4.4",
190+
"minServerVersion": "4.2",
191191
"topologies": [
192192
"replicaset",
193193
"sharded-replicaset",

0 commit comments

Comments
 (0)