Skip to content

Commit 58f9b49

Browse files
CDRIVER-4363 sync w:0 client bulk write command monitoring test (#1636)
1 parent c6f0fbc commit 58f9b49

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

src/libmongoc/tests/json/command-logging-and-monitoring/monitoring/unacknowledged-client-bulkWrite.json

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"description": "unacknowledged-client-bulkWrite",
3-
"schemaVersion": "1.0",
3+
"schemaVersion": "1.7",
4+
"runOnRequirements": [
5+
{
6+
"minServerVersion": "8.0"
7+
}
8+
],
49
"createEntities": [
510
{
611
"client": {
712
"id": "client",
13+
"useMultipleMongoses": false,
814
"observeEvents": [
915
"commandStartedEvent",
1016
"commandSucceededEvent",
@@ -112,11 +118,37 @@
112118
"$$unsetOrMatches": {}
113119
}
114120
}
121+
},
122+
{
123+
"object": "collection",
124+
"name": "find",
125+
"arguments": {
126+
"filter": {}
127+
},
128+
"expectResult": [
129+
{
130+
"_id": 1,
131+
"x": 11
132+
},
133+
{
134+
"_id": 2,
135+
"x": 22
136+
},
137+
{
138+
"_id": 3,
139+
"x": 333
140+
},
141+
{
142+
"_id": 4,
143+
"x": 44
144+
}
145+
]
115146
}
116147
],
117148
"expectEvents": [
118149
{
119150
"client": "client",
151+
"ignoreExtraEvents": true,
120152
"events": [
121153
{
122154
"commandStartedEvent": {

0 commit comments

Comments
 (0)