@@ -128,10 +128,10 @@ type T struct {
128
128
succeeded []* event.CommandSucceededEvent
129
129
failed []* event.CommandFailedEvent
130
130
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
135
135
}
136
136
137
137
func newT (wrapped * testing.T , opts ... * Options ) * T {
@@ -726,15 +726,15 @@ func (t *T) createTestClient() {
726
726
t .Fatalf ("error connecting client: %v" , err )
727
727
}
728
728
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
+ // }
738
738
}
739
739
740
740
func (t * T ) createTestCollection () {
0 commit comments