Skip to content

Commit

Permalink
GODRIVER-2466 Remove duplicate failpoint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Jan 19, 2024
1 parent 7aa63f0 commit 998b725
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/integration/unified/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ func newTestContext(

func addFailPoint(ctx context.Context, failPoint string, client *mongo.Client) error {
failPoints := ctx.Value(failPointsKey).(map[string]*mongo.Client)
if _, ok := failPoints[failPoint]; ok {
return fmt.Errorf("fail point %q already exists in tracked fail points map", failPoint)
}

failPoints[failPoint] = client
return nil
Expand Down

0 comments on commit 998b725

Please sign in to comment.