DRIVERS-2776 test compact with "range" #1605
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
compactStructuredEncryptionData
.fle2v2-Rangev2-Compact
to test compact with "range".Partially resolves DRIVERS-2776.
Background & Motivation
Spec tests are motivated by the bug fix in MONGOCRYPT-699.
Adding
result: { ok: 1 }
to the operation is to ensure test runners check the operation succeeded. The test format does not require checking the operation succeeded ifresult
is not present.An "insert" operation is added before
compactStructuredEncryptionData
for the range test. The server check requiringencryptionInformation
appears to require data present to trigger the error.Please complete the following before merging:
[ ] Update changelog.N/A. Test changes only.[ ] Test these changes against all server versions and topologies (including standalone, replica set, shardedC driver does not currently test IUE with sharded or serverless.clusters, and serverless).