Repository navigation
CLDSRV-1047: Name only the requested key ARN when rejecting a key from an unconfigured KMS (cherry-pick to 9.5) - #6421
Conversation
…m an unconfigured KMS Pass the requested key ARN to Arsenal at both checks; the KMIP functional test stays on 9.6, which alone has other KMSs configured. (cherry picked from commit 4be78a8)
Hello dvasilas,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command: Alternatively, the |
| const keyArn = 'arn:scality:kms:external:kmip:unconfigured:key/1'; | ||
|
|
||
| function assertRefusedNamingOnlyTheKey(err) { | ||
| assert.strictEqual(err.is.InvalidArgument, true); |
There was a problem hiding this comment.
Prefer asserting the error name over .is, so a failure shows which error was actually returned.
| assert.strictEqual(err.is.InvalidArgument, true); | |
| assert.strictEqual(err.message, 'InvalidArgument'); |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 2 files with indirect coverage changes @@ Coverage Diff @@
## development/9.5 #6421 +/- ##
===================================================
- Coverage 90.59% 90.55% -0.05%
===================================================
Files 208 208
Lines 39344 39344
===================================================
- Hits 35644 35628 -16
- Misses 3700 3716 +16
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Cherry-pick #6337 (CLDSRV-1045) to 9.5.
Changes: