Skip to content

Commit

Permalink
minor fix for configureFailPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyang-hu committed Jun 1, 2024
1 parent 5ab8f15 commit 475502f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mongo/integration/mtest/mongotest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 475502f

Please sign in to comment.