upgrade mongo driver to 1.11 (#19954)

* upgrade mongo driver to 1.11

* add changelog

* fix failing test comparison

* ignore http.Transport
This commit is contained in:
John-Michael Faircloth
2023-04-03 22:18:18 -05:00
committed by GitHub
parent 2145f959e1
commit 53cbcd3f34
4 changed files with 18 additions and 12 deletions

View File

@@ -8,6 +8,7 @@ import (
"crypto/tls"
"crypto/x509"
"fmt"
"net/http"
"reflect"
"strings"
"sync"
@@ -385,6 +386,8 @@ func appendToCertPool(t *testing.T, pool *x509.CertPool, caPem []byte) *x509.Cer
}
var cmpClientOptionsOpts = cmp.Options{
cmpopts.IgnoreTypes(http.Transport{}),
cmp.AllowUnexported(options.ClientOptions{}),
cmp.AllowUnexported(tls.Config{}),