-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Component/s: Client Side Encryption
-
None
-
Needed
-
Summary
CSFLE prose test 22 uses range-encryptedFields-<type>.json files (added in DRIVERS-2505), which are very similar to the encryptedFields-Range-<type>.json files used by the templates that generate legacy spec tests (added in DRIVERS-2286).
There appear to be two notable differences:
- The range-encryptedFields-<type>.json files also specify zero for field.queries.contention, which is the default value and may be irrelevant.
- The field names for encryptedDouble / encryptedDecimal in encryptedFields-Range-<type>.json are encryptedDoubleNoPrecision / encryptedDecimalNoPrecision in range-encryptedFields-<type>.json.
It should be feasible to resolve these differences and have the prose and spec tests use the same set of JSON files.
See this GitHub review comment for additional context.
Motivation
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-2286 Support for Range Indexes
- Development Complete
-
DRIVERS-2505 Add Explicit Encryption with Range Index
- Closed
- split to
-
CDRIVER-4613 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
CSHARP-4612 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
CXX-2674 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
GODRIVER-2808 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
MOTOR-1118 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
NODE-5195 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
PHPLIB-1110 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
PYTHON-3666 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
RUBY-3239 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
RUST-1629 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed
-
JAVA-4934 Queryable Encryption prose and spec tests can share the same encryptedFields JSON files
- Closed