Skip to content

Commit 1f1ea55

Browse files
committed
CDRIVER-3733 resync change stream spec tests
1 parent 8c5ae02 commit 1f1ea55

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

src/libmongoc/tests/json/change_streams/change-streams-errors.json

+5-14
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,12 @@
102102
],
103103
"result": {
104104
"error": {
105-
"code": 280,
106-
"errorLabels": [
107-
"NonResumableChangeStreamError"
108-
]
105+
"code": 280
109106
}
110107
}
111108
},
112109
{
113-
"description": "change stream errors on MaxTimeMSExpired",
110+
"description": "change stream errors on ElectionInProgress",
114111
"minServerVersion": "4.2",
115112
"failPoint": {
116113
"configureFailPoint": "failCommand",
@@ -121,7 +118,7 @@
121118
"failCommands": [
122119
"getMore"
123120
],
124-
"errorCode": 50,
121+
"errorCode": 216,
125122
"closeConnection": false
126123
}
127124
},
@@ -130,13 +127,7 @@
130127
"replicaset",
131128
"sharded"
132129
],
133-
"changeStreamPipeline": [
134-
{
135-
"$project": {
136-
"_id": 0
137-
}
138-
}
139-
],
130+
"changeStreamPipeline": [],
140131
"changeStreamOptions": {},
141132
"operations": [
142133
{
@@ -152,7 +143,7 @@
152143
],
153144
"result": {
154145
"error": {
155-
"code": 50
146+
"code": 216
156147
}
157148
}
158149
}

0 commit comments

Comments
 (0)