File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed
test/spec/client-side-encryption/tests/legacy Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 294
294
"command_name" : " listCollections"
295
295
}
296
296
},
297
- {
298
- "command_started_event" : {
299
- "command" : {
300
- "listCollections" : 1 ,
301
- "filter" : {
302
- "name" : " datakeys"
303
- }
304
- },
305
- "command_name" : " listCollections"
306
- }
307
- },
308
297
{
309
298
"command_started_event" : {
310
299
"command" : {
Original file line number Diff line number Diff line change @@ -55,18 +55,12 @@ tests:
55
55
arguments :
56
56
document : &doc1 { _id: 1, encrypted_string_kmip_delegated: "string0" }
57
57
expectations :
58
- - command_started_event :
59
- command :
60
- listCollections : 1
61
- filter :
62
- name : *collection_name
63
- command_name : listCollections
64
58
# Auto encryption will request the collection info.
65
59
- command_started_event :
66
60
command :
67
61
listCollections : 1
68
62
filter :
69
- name : datakeys
63
+ name : *collection_name
70
64
command_name : listCollections
71
65
# Then key is fetched from the key vault.
72
66
- command_started_event :
86
80
collection :
87
81
# Outcome is checked using a separate MongoClient without auto encryption.
88
82
data :
89
- - *doc1_encrypted
83
+ - *doc1_encrypted
You can’t perform that action at this time.
0 commit comments