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

Fix failing "TestClient/tls_connection"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.12.2
    • None
    • None
    • 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?

    Description

      TestClient/tls_connection fails frequently with an error like

      [2023/08/28 13:10:16.696]     client_test.go:130:
      [2023/08/28 13:10:16.696]         	Error Trace:	/data/mci/fb2b5962992956e6de9486d36f0f4dab/src/go.mongodb.org/mongo-driver/mongo/integration/client_test.go:130
      [2023/08/28 13:10:16.696]         	            				/data/mci/fb2b5962992956e6de9486d36f0f4dab/src/go.mongodb.org/mongo-driver/mongo/integration/mongotest.go:266
      [2023/08/28 13:10:16.696]         	Error:      	Expected nil, but got: &errors.errorString{s:"element not found"}
      [2023/08/28 13:10:16.696]         	Test:       	TestClient/tls_connection
      [2023/08/28 13:10:16.696]         	Messages:   	SSLServerHasCertificateAuthority not found in result
      

      Check out an example test failure here.

       

      The server has removed this field referring to this commit: https://github.com/mongodb/mongo/commit/3e37b1e2a4c341cd456125c804f7700b3056519a#diff-18f4cd1556fcc866bba814f9240a5ade449626b19bbe15107d30ea3e74f6d10bL881

      Attachments

        Activity

          People

            qingyang.hu@mongodb.com Qingyang Hu
            qingyang.hu@mongodb.com Qingyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: