oslo.db/oslo_db/tests
melanie witt 8e1f869910 exc_filters: Handle OperationalError for MariaDB/Galera
Currently InternalError is being handled for detecting MariaDB/Galera
deadlocks but recently we have seen a variant that raises
OperationalError instead. Because it's not being detected, usage of the
@retry_on_deadlock decorator is not performing retries in those cases.

This adds handling of OperationalError for detecting this deadlock.

Closes-Bug: #2057987

Change-Id: I6ff3667b35ea38a2d3c258f810a55eda9abe465e
2024-03-15 02:16:17 +00:00
..
sqlalchemy exc_filters: Handle OperationalError for MariaDB/Galera 2024-03-15 02:16:17 +00:00
__init__.py Test that concurrent sqlalchemy transactions don't block 2015-07-16 20:20:45 +10:00
base.py tests: Enable SADeprecationWarning warnings 2021-07-29 16:37:02 +01:00
fixtures.py Remove sqlalchemy-migrate 2023-03-21 13:59:26 -04:00
test_api.py Don't sleep in tests 2023-04-17 10:17:35 +01:00
test_concurrency.py tests: Use common base class 2021-07-29 16:37:01 +01:00
utils.py tests: Use common base class 2021-07-29 16:37:01 +01:00