We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab8f15 commit 96298c3Copy full SHA for 96298c3
mongo/integration/mtest/mongotest.go
@@ -586,6 +586,11 @@ func (t *T) TrackFailPoint(fpName string) {
586
587
// ClearFailPoints disables all previously set failpoints for this test.
588
func (t *T) ClearFailPoints() {
589
+ if t.clientOpts != nil && t.clientOpts.AutoEncryptionOptions != nil && len(t.failPointNames) > 0 {
590
+ t.Logf("configureFailPoint is not supported for auto encryption, skipping ClearFailPoints()")
591
+ t.failPointNames = t.failPointNames[:0]
592
+ return
593
+ }
594
db := t.Client.Database("admin")
595
for _, fp := range t.failPointNames {
596
cmd := bson.D{
0 commit comments