Skip to content

Commit

Permalink
Increase number of retries to 10 in test connection
Browse files Browse the repository at this point in the history
This matches what we do for full test retries.
  • Loading branch information
msullivan committed Feb 10, 2025
1 parent 39083b6 commit 6ff3a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edb/testbase/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ async def _retry_operation(self, func):
errors.TransactionConflictError,
errors.TransactionSerializationError,
):
if i >= 5 or self.is_in_transaction():
if i >= 10 or self.is_in_transaction():
raise
await asyncio.sleep(
min((2 ** i) * 0.1, 10)
Expand Down

0 comments on commit 6ff3a19

Please sign in to comment.