• Type: Sub-task
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • Go Drivers
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      mtest can gate tests on server version using MinServerVersion / MaxServerVersion but there is no equivalent for libmongocrypt version. Running a prose test with an unsupported libmongocrypt version creates difficult-to-diagnose errors. Unified test format defines analogous behavior with csfle.minLibmongocryptVersion.

      Definition of done

      Add mtest.NewOptions().MinLibmongocryptVersion() and [optionally] mtest.NewOptions().MaxLibmongocryptVersion() that skips the test when the loaded libmongocrypt version is out of range, mirroring the server-version helpers.

            Assignee:
            Matt Dale
            Reporter:
            Preston Vasquez
            Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: