Skip to content

test(NODE-7578): add QE case/diacritic sensitivity regression tests#4983

Draft
tadjik1 wants to merge 3 commits into
feat/NODE-7537-qe-string-gafrom
feat/NODE-7578-qe-case-diacritic
Draft

test(NODE-7578): add QE case/diacritic sensitivity regression tests#4983
tadjik1 wants to merge 3 commits into
feat/NODE-7537-qe-string-gafrom
feat/NODE-7578-qe-case-diacritic

Conversation

@tadjik1

@tadjik1 tadjik1 commented Jun 30, 2026

Copy link
Copy Markdown
Member

Description

Regression tests for case/diacritic sensitivity not being honoured in QE explicit encryption (DRIVERS-3470, fixed in libmongocrypt via MONGOCRYPT-903).

NODE-7578

Summary of Changes

Adds spec prose test 27 Cases 8–11 per the spec commit:

Double check the following

  • Lint is passing (npm run check:lint)
  • Self-review completed
  • PR title follows the correct format
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

tadjik1 added 3 commits June 30, 2026 13:09
Implements spec prose test 27 Cases 8-11 (DRIVERS-3470):
- Cases 8-9: prefix/suffix with caseSensitive/diacriticSensitive=false on server 9.0+
- Cases 10-11: substring with caseSensitive/diacriticSensitive=false on server 8.2-8.x

Adds two new encryptedFields fixtures (prefix-suffix-ci-di, substring-ci-di) and
introduces autoEncryptedClient to the test setup for auto-encryption inserts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant