[JAVA-4763] Test crypt_shared with older server versions Created: 10/Oct/22  Updated: 28/Oct/23  Resolved: 15/Feb/23

Status: Closed
Project: Java Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 4.10.0

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

Issue Links:
Issue split
split from DRIVERS-2465 Test crypt_shared with older server v... Closed
Related
is related to JAVA-4678 Test with consistent versions of cryp... Closed
Quarter: FY23Q4
Upstream Changes Summary:

DRIVERS-2465:
See https://github.com/mongodb/specifications/commit/d90583f467cb406928c1e86eee7a258ae50b235e for updated test requirements for CSFLE. The following is a summary of the changes:

  • Drivers MUST run all tests with mongocryptd on at least one platform for all
    tested server versions (4.2+).
  • Drivers MUST run all tests with crypt_shared_ on at least one platform for all
    tested server versions (4.2+). For server versions < 6.0, drivers MUST test with the
    latest major release of crypt_shared_ (currently 6.0). Using the latest major release of
    crypt_shared_ is supported with older server versions.

As of https://github.com/mongodb-labs/drivers-evergreen-tools/commit/1d7119eeb531e7fab60423e803a94f4a2f61ec0f, download-mongodb.sh downloads the latest major version of crypt_shared if the server version is less than 6.0.

There may be no required driver changes if these requirements are already tested. The Go driver did not require changes. The Go driver tests with mongocryptd on separate variants. The other variants test with crypt_shared and include tests back to server versions 4.2.

Drivers may manually verify the version of crypt_shared that is downloaded from the output of run-orchestration.sh where the URL is printed.

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

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



 Comments   
Comment by Githook User [ 15/Feb/23 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Run CSFLE unified and legacy tests with `mongocryptd` (#1085)

JAVA-4763
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/1d218d21d947f4a284d6c8718b3aa0306d9899d0

Generated at Thu Feb 08 09:02:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.