Skip to content

CDRIVER-5901 support auto encryption in unified tests #2004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

mdb-ad
Copy link

@mdb-ad mdb-ad commented May 1, 2025

@mdb-ad mdb-ad force-pushed the unified-tests-only branch from 5ede743 to 488c3e5 Compare May 5, 2025 06:01
@mdb-ad mdb-ad force-pushed the unified-tests-only branch from 488c3e5 to da08915 Compare May 5, 2025 06:06
@mdb-ad mdb-ad requested a review from kevinAlbs May 5, 2025 06:08
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the legacy fle2v2-BypassQueryAnalysis.json test file (and others) since they are now redundant with the unified tests and no longer need to be run in the C driver.

bson_as_canonical_extended_json (&expected_event, NULL),
bson_as_canonical_extended_json (eiter->serialized, NULL));
break;
} while ((eiter = eiter->next) && !matched);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest reverting most changes in this function. I expect the only needed change to event matching is to ignore the extra listCollections events generated by libmongoc. Applying this commit appears to pass with existing tests: 8db0e04

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.

2 participants