Skip to content

Commit 1aed887

Browse files
sync latest kmipKMS test file
1 parent dd4af47 commit 1aed887

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

test/spec/client-side-encryption/tests/legacy/kmipKMS.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -294,17 +294,6 @@
294294
"command_name": "listCollections"
295295
}
296296
},
297-
{
298-
"command_started_event": {
299-
"command": {
300-
"listCollections": 1,
301-
"filter": {
302-
"name": "datakeys"
303-
}
304-
},
305-
"command_name": "listCollections"
306-
}
307-
},
308297
{
309298
"command_started_event": {
310299
"command": {

test/spec/client-side-encryption/tests/legacy/kmipKMS.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,12 @@ tests:
5555
arguments:
5656
document: &doc1 { _id: 1, encrypted_string_kmip_delegated: "string0" }
5757
expectations:
58-
- command_started_event:
59-
command:
60-
listCollections: 1
61-
filter:
62-
name: *collection_name
63-
command_name: listCollections
6458
# Auto encryption will request the collection info.
6559
- command_started_event:
6660
command:
6761
listCollections: 1
6862
filter:
69-
name: datakeys
63+
name: *collection_name
7064
command_name: listCollections
7165
# Then key is fetched from the key vault.
7266
- command_started_event:
@@ -86,4 +80,4 @@ tests:
8680
collection:
8781
# Outcome is checked using a separate MongoClient without auto encryption.
8882
data:
89-
- *doc1_encrypted
83+
- *doc1_encrypted

0 commit comments

Comments
 (0)