Skip to content

Commit dc6eb4c

Browse files
authored
DRIVERS-2732 Remove extra listCollections from KMIP delegated tests (#1591)
Remove extra listCollections
1 parent 56a2d83 commit dc6eb4c

File tree

3 files changed

+2
-25
lines changed

3 files changed

+2
-25
lines changed

source/client-side-encryption/etc/test-templates/kmipKMS.yml.template

Lines changed: 1 addition & 7 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:

source/client-side-encryption/tests/legacy/kmipKMS.json

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-encryption/tests/legacy/kmipKMS.yml

Lines changed: 1 addition & 7 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:

0 commit comments

Comments
 (0)