From 55e8306be425ff51cc9e975cf118e2fcdaa67634 Mon Sep 17 00:00:00 2001 From: "Michael J. Sullivan" Date: Wed, 12 Feb 2025 23:42:22 -0800 Subject: [PATCH] Revert "Also retry on transaction serialization errors (#8317)" (#8334) TransactionSerializationError is a subtype of TransactionConflictError. This PR was a no-op. This reverts commit e6a79943874a694789ce258b7d7098577e574d3c. --- edb/testbase/connection.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/edb/testbase/connection.py b/edb/testbase/connection.py index c2a75fcd049..7f94e254652 100644 --- a/edb/testbase/connection.py +++ b/edb/testbase/connection.py @@ -416,10 +416,7 @@ async def _retry_operation(self, func): # since that *ought* to be done at the transaction level. # Though in reality in the test suite it is usually done at the # test runner level. - except ( - errors.TransactionConflictError, - errors.TransactionSerializationError, - ): + except errors.TransactionConflictError: if i >= 10 or self.is_in_transaction(): raise await asyncio.sleep(