Skip to content

Commit b8928fa

Browse files
authored
DRIVERS-1879 Remove modifiers option from command monitoring spec test (#1047)
1 parent 8619708 commit b8928fa

File tree

2 files changed

+20
-23
lines changed

2 files changed

+20
-23
lines changed

source/command-monitoring/tests/legacy/find.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,19 @@
8989
"skip": {
9090
"$numberLong": "2"
9191
},
92-
"modifiers": {
93-
"$comment": "test",
94-
"$hint": {
95-
"_id": 1
96-
},
97-
"$max": {
98-
"_id": 6
99-
},
100-
"$maxTimeMS": 6000,
101-
"$min": {
102-
"_id": 0
103-
},
104-
"$returnKey": false,
105-
"$showDiskLoc": false
106-
}
92+
"comment": "test",
93+
"hint": {
94+
"_id": 1
95+
},
96+
"max": {
97+
"_id": 6
98+
},
99+
"maxTimeMS": 6000,
100+
"min": {
101+
"_id": 0
102+
},
103+
"returnKey": false,
104+
"showRecordId": false
107105
}
108106
},
109107
"expectations": [

source/command-monitoring/tests/legacy/find.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ tests:
4343
filter: { _id: { $gt: 1 } }
4444
sort: { _id: 1 }
4545
skip: {"$numberLong": "2"}
46-
modifiers:
47-
$comment: "test"
48-
$hint: { _id: 1 }
49-
$max: { _id: 6 }
50-
$maxTimeMS: 6000
51-
$min: { _id: 0 }
52-
$returnKey: false
53-
$showDiskLoc: false
46+
comment: "test"
47+
hint: { _id: 1 }
48+
max: { _id: 6 }
49+
maxTimeMS: 6000
50+
min: { _id: 0 }
51+
returnKey: false
52+
showRecordId: false
5453
expectations:
5554
-
5655
command_started_event:

0 commit comments

Comments
 (0)