Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4698

Test crypt_shared with older server versions

    • 3
    • 2
    • Hide

      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.

      Show
      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 .
    • Not Needed
    • Not Needed
    • Hide

      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?

      Show
      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?

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

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            dbeng-pm-bot PM Bot
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: