Skip to content

Commit

Permalink
sync latest kmipKMS test file
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 5, 2024
1 parent dd4af47 commit 1aed887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
11 changes: 0 additions & 11 deletions test/spec/client-side-encryption/tests/legacy/kmipKMS.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,17 +294,6 @@
"command_name": "listCollections"
}
},
{
"command_started_event": {
"command": {
"listCollections": 1,
"filter": {
"name": "datakeys"
}
},
"command_name": "listCollections"
}
},
{
"command_started_event": {
"command": {
Expand Down
10 changes: 2 additions & 8 deletions test/spec/client-side-encryption/tests/legacy/kmipKMS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,12 @@ tests:
arguments:
document: &doc1 { _id: 1, encrypted_string_kmip_delegated: "string0" }
expectations:
- command_started_event:
command:
listCollections: 1
filter:
name: *collection_name
command_name: listCollections
# Auto encryption will request the collection info.
- command_started_event:
command:
listCollections: 1
filter:
name: datakeys
name: *collection_name
command_name: listCollections
# Then key is fetched from the key vault.
- command_started_event:
Expand All @@ -86,4 +80,4 @@ tests:
collection:
# Outcome is checked using a separate MongoClient without auto encryption.
data:
- *doc1_encrypted
- *doc1_encrypted

0 comments on commit 1aed887

Please # to comment.