[CXX-2656] Update libmongocrypt payloads to new QE protocol Created: 21/Feb/23  Updated: 28/Oct/23  Resolved: 10/Apr/23

Status: Closed
Project: C++ Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 3.8.0

Type: Task Priority: Unknown
Reporter: PM Bot Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-4584 Update libmongocrypt payloads to new ... Closed
Issue split
split from DRIVERS-2435 Update libmongocrypt payloads to new ... Closed
Server Compat: 7.0, 7.1
Quarter: FY24Q2
Upstream Changes Summary:

DRIVERS-2435:
Drivers are expected to update the Queryable Encryption (QE) tests. See https://github.com/mongodb/specifications/commit/64deb2837a2355f6002775c49b9b6c50c9dc560f for changes. Here is a summary:

See https://github.com/mongodb/mongo-go-driver/pull/1213 for the example Go driver implementation.

Also consider: To fix test failures without enabling QEv2: sync spec tests to https://github.com/mongodb/specifications/commit/baf3724155500acbb557e158b8a5d4334e7f3512 and skip to QE prose tests on server versions > 6.2.99. That may be helpful to backport to release branches so the tests on release branches do not fail against latest servers.

Changelog:
2023-04-26: libmongocrypt 1.8.0-alpha1 was released and removes the `mongocrypt_setopt_fle2v2` symbol. QEv2 is enabled by default.


 Description   

This ticket was split from DRIVERS-2435, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 10/Apr/23 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CXX-2656 Update tests for QEv2 compatibility (#953)

  • Move legacy client side encryption test files into legacy subdirectory
  • Sort *_TESTS_PATH variable export commands
  • CXX-2656 skip QE prose tests on server versions older than 7.0
  • Use Catch2 WARN instead of std::cerr
  • Improve error message on unexpected success on expectError
  • CXX-2656 Sync legacy client-side-encryption spec test files with 64deb283
  • CXX-2656 Bump minimium libmongoc version to 8aced03a
Generated at Wed Feb 07 22:06:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.