From 475502f3922fc64e33485f688374fcf907864037 Mon Sep 17 00:00:00 2001 From: Qingyang Hu Date: Fri, 31 May 2024 23:50:01 -0400 Subject: [PATCH] minor fix for configureFailPoint --- mongo/integration/mtest/mongotest.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mongo/integration/mtest/mongotest.go b/mongo/integration/mtest/mongotest.go index f92b5c583f3..e695e752b65 100644 --- a/mongo/integration/mtest/mongotest.go +++ b/mongo/integration/mtest/mongotest.go @@ -586,6 +586,9 @@ func (t *T) TrackFailPoint(fpName string) { // ClearFailPoints disables all previously set failpoints for this test. func (t *T) ClearFailPoints() { + if t.clientOpts != nil && t.clientOpts.AutoEncryptionOptions != nil { + t.Logf("configureFailPoint is not supported for auto encryption %v", t.failPointNames) + } db := t.Client.Database("admin") for _, fp := range t.failPointNames { cmd := bson.D{