Skip to content

Commit 411eba1

Browse files
committed
PHPLIB-567: Test that ElectionInProgress is not resumed
Synced spec tests with mongodb/specifications@3ed0da9
1 parent deb4e6c commit 411eba1

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

tests/SpecTests/change-streams/change-streams-errors.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
}
108108
},
109109
{
110-
"description": "change stream errors on MaxTimeMSExpired",
110+
"description": "change stream errors on ElectionInProgress",
111111
"minServerVersion": "4.2",
112112
"failPoint": {
113113
"configureFailPoint": "failCommand",
@@ -118,7 +118,7 @@
118118
"failCommands": [
119119
"getMore"
120120
],
121-
"errorCode": 50,
121+
"errorCode": 216,
122122
"closeConnection": false
123123
}
124124
},
@@ -127,13 +127,7 @@
127127
"replicaset",
128128
"sharded"
129129
],
130-
"changeStreamPipeline": [
131-
{
132-
"$project": {
133-
"_id": 0
134-
}
135-
}
136-
],
130+
"changeStreamPipeline": [],
137131
"changeStreamOptions": {},
138132
"operations": [
139133
{
@@ -149,7 +143,7 @@
149143
],
150144
"result": {
151145
"error": {
152-
"code": 50
146+
"code": 216
153147
}
154148
}
155149
}

0 commit comments

Comments
 (0)