Skip to content

Commit

Permalink
DRIVERS-2732 Remove extra listCollections from KMIP delegated tests (#…
Browse files Browse the repository at this point in the history
…1591)

Remove extra listCollections
  • Loading branch information
adriandole committed Jun 3, 2024
1 parent 56a2d83 commit dc6eb4c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
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 Down
11 changes: 0 additions & 11 deletions source/client-side-encryption/tests/legacy/kmipKMS.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions source/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 Down

0 comments on commit dc6eb4c

Please sign in to comment.