Skip to content

Commit 61ae5aa

Browse files
committed
updates
1 parent 0b1d0ad commit 61ae5aa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mongo/integration/mtest/mongotest.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,11 @@ func (t *T) RunOpts(name string, opts *Options, callback func(mt *T)) {
232232
}
233233

234234
if sub.fpClient == nil {
235-
sub.fpClient = t.fpClient
235+
clientOpts := sub.clientOpts
236+
if clientOpts != nil {
237+
clientOpts.AutoEncryptionOptions = nil
238+
}
239+
sub.fpClient = sub.createTestClient(clientOpts)
236240
}
237241
// for shareClient, inherit the client from the parent
238242
if sub.shareClient != nil && *sub.shareClient && sub.clientType == t.clientType {

0 commit comments

Comments
 (0)