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

Fix libmongocrypt wrapper test failure

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.2.0
    • None
    • None
    • None

    Description

      CDRIVER-3125 fixed a key caching bug that happened when keyAltName was specified. As a result, the assertion on https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/mongocrypt/mongocrypt_test.go#L356 fails because libmongocrypt caches the key and does not enter the NeedMongoKeys state again. Fix this by checking for the Ready state immediately.

      While fixing this, another error was found: an error message in libmongocrypt was updated, causing 2 spec tests to fail. The work for this ticket should also include syncing spec test files to pull in changes from commit c12dc705f7a75be056fe88525731363e5372c385 in the specs repo.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora (Inactive)
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: