Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2217

Test with the latest libmongocrypt release on non-Windows builds

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Background & Motivation

      MONGOCRYPT-352 changed the behavior of mongocrypt_kms_ctx_endpoint to always include a default port.

      This caused test failures on Linux and macOS in the testKmsCtx test.

      After updating the test's assertion to check for a port, that caused test failures on Windows.

      Linux and macOS build libmongocrypt from source from the latest commit. Windows downloads the latest tagged release: https://github.com/mongodb/mongo-go-driver/blob/15ace228e3bfdf37faa31e558d5eb2745a75469f/.evergreen/config.yml#L75-L86

      I think it is preferable to use the latest libmongocrypt release. If behavior changes cause test failures, we can address those as part of upgrading the libmongocrypt version dependency.

      Scope

      • Update Linux and macOS to use the latest libmongocrypt release instead of building from the latest commit.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: