Skip to content

Commit

Permalink
PR FIXUP - Correctly return err if max retries hit
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Jan 18, 2023
1 parent f7ce146 commit 8b1f0d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/integration/net/state/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ func updateDocument(ctx context.Context, db client.DB, dockey client.DocKey, upd
for i := 0; i < db.MaxTxnRetries(); i++ {
err = col.Save(ctx, doc)
if err != nil {
err = nil
continue
}
return nil
Expand Down

0 comments on commit 8b1f0d4

Please sign in to comment.