-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Testing
Use Case
!spec.description.match(/Count with deterministic encryption/)
This line in test/functional/client_side_encryption/spec.test.js skips the count documents test because currently the tests check that the operation performed is a count op. Count documents is now performed using aggregation, so it still works as expected, just the underlying operation type doesn't match.
Dependencies
- Spec test test/spec/client-side-encryption/tests/count.json
- Spec test test/spec/retryable-reads/count.json
- Spec test test/spec/transactions/count.json
- Spec test test/spec/command-monitoring/legacy/command.json
Unknowns
- Can we accept both count/aggregation as the operation type?
Acceptance Criteria
Implementation Requirements
- A passing count documents spec test
Documentation Requirements
- None
Follow Up Requirements
- Inquire about this affecting other drivers and maybe there should be a change to the spec test itself.
- related to
-
DRIVERS-2047 Stop using count in spec test where it's not necessary
- Backlog