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

Fix failing "TestClientSideEncryptionProse" test

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

      The test

      TestClientSideEncryptionProse/4._bson_size_limits
      

      fails frequently with an error like

      client_side_encryption_prose_test.go:470:
          	Error Trace:	mongo/integration/client_side_encryption_prose_test.go:470
          	            				mongo/integration/mongotest.go:263
          	Error:      	Expected nil, but got: mongo.MongocryptError{Code:1, Message:"invalid BSON"}
          	Test:       	TestClientSideEncryptionProse/4._bson_size_limits
          	Messages:   	InsertOne error: mongocrypt error 1: invalid BSON
      

      Check out an example test failure here

      Definition of done:

      • All TestClientSideEncryptionProse tests pass reliably on Evergreen CI.
      • Remove any skipped TestClientSideEncryptionProse tests tagged with this ticket.

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: