Skip to content

Commit 0c65323

Browse files
committed
updates
1 parent f0def31 commit 0c65323

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

mongo/integration/mtest/mongotest.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ type T struct {
128128
succeeded []*event.CommandSucceededEvent
129129
failed []*event.CommandFailedEvent
130130

131-
Client *mongo.Client
132-
fpClient *mongo.Client
133-
DB *mongo.Database
134-
Coll *mongo.Collection
131+
Client *mongo.Client
132+
// fpClient *mongo.Client
133+
DB *mongo.Database
134+
Coll *mongo.Collection
135135
}
136136

137137
func newT(wrapped *testing.T, opts ...*Options) *T {
@@ -726,15 +726,15 @@ func (t *T) createTestClient() {
726726
t.Fatalf("error connecting client: %v", err)
727727
}
728728

729-
fpOpts := options.MergeClientOptions(uriOpts, clientOpts)
730-
fpOpts.AutoEncryptionOptions = nil
731-
t.fpClient, err = mongo.NewClient(fpOpts)
732-
if err != nil {
733-
t.Fatalf("error creating client: %v", err)
734-
}
735-
if err := t.fpClient.Connect(context.Background()); err != nil {
736-
t.Fatalf("error connecting client: %v", err)
737-
}
729+
// fpOpts := options.MergeClientOptions(uriOpts, clientOpts)
730+
// fpOpts.AutoEncryptionOptions = nil
731+
// t.fpClient, err = mongo.NewClient(fpOpts)
732+
// if err != nil {
733+
// t.Fatalf("error creating client: %v", err)
734+
// }
735+
// if err := t.fpClient.Connect(context.Background()); err != nil {
736+
// t.Fatalf("error connecting client: %v", err)
737+
// }
738738
}
739739

740740
func (t *T) createTestCollection() {

0 commit comments

Comments
 (0)