-
Type: Improvement
-
Resolution: Done
-
Priority: Unknown
-
None
-
Component/s: None
-
None
-
Needed
-
Summary
The current wording in Client Side Encryption Prose Test 13 requires certain addKeyAltName() operations "does not fail". However, this description does not take into account potential failure to find a matching document to add a keyAltName to, which also satisfies the "does not fail" condition (returning a null value instead of the previous state of the matched key document).
The prose test description should be improved to ensure the addKeyAltName() operations are succeeding because it successfully found and added a keyAltName to a matching document, not because it did not find a matching document.
Motivation
Who is the affected end user?
Drivers that have implemented, or will implement, CSE Prose Test 13.
How does this affect the end user?
Drivers' implementation of CSE Prose Test 13 will need to assert the result of addKeyAltName() operations include the keyAltName added in a previous operation if they are not already doing so.
How likely is it that this problem or use case will occur?
During implementation, Drivers might construct an incorrect filter argument to addKeyAltName() and fail to correctly test the success conditions intended by the prose test. This is more likely on Drivers that must convert to/from Native UUID Types.
If the problem does occur, what are the consequences and how severe are they?
Minor.
Is this issue urgent?
No.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
- is related to
-
DRIVERS-2017 Add ClientEncryption entity and Key Management API operations to Unified Test Format
- Closed
- split to
-
PHPLIB-897 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
CDRIVER-4407 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
CSHARP-4215 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
CXX-2528 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
GODRIVER-2462 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
JAVA-4651 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
MOTOR-982 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
NODE-4314 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
PYTHON-3306 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
RUBY-3029 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed
-
RUST-1367 Ensure "does not fail" in CSE Prose Test 13 accounts for (no) matching documents
- Closed