Skip to content

Commit 475502f

Browse files
committed
minor fix for configureFailPoint
1 parent 5ab8f15 commit 475502f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mongo/integration/mtest/mongotest.go

+3
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,9 @@ func (t *T) TrackFailPoint(fpName string) {
586586

587587
// ClearFailPoints disables all previously set failpoints for this test.
588588
func (t *T) ClearFailPoints() {
589+
if t.clientOpts != nil && t.clientOpts.AutoEncryptionOptions != nil {
590+
t.Logf("configureFailPoint is not supported for auto encryption %v", t.failPointNames)
591+
}
589592
db := t.Client.Database("admin")
590593
for _, fp := range t.failPointNames {
591594
cmd := bson.D{

0 commit comments

Comments
 (0)