oslo.db/oslo_db/tests/sqlalchemy
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
..
__init__.py Remove deprecation warning when loading tests/sqlalchemy 2017-07-25 16:56:24 +01:00
base.py Remove legacy base test classes 2023-03-22 15:05:24 +00:00
test_async_eventlet.py Update import of declarative_base() 2021-08-10 16:53:47 +01:00
test_enginefacade.py Remove MySQL NDB Cluster Support 2023-07-20 11:16:22 +01:00
test_exc_filters.py exc_filters: Handle OperationalError for MariaDB/Galera 2024-03-15 02:16:17 +00:00
test_fixtures.py Remove legacy base test classes 2023-03-22 15:05:24 +00:00
test_migrate_cli.py Remove sqlalchemy-migrate 2023-03-21 13:59:26 -04:00
test_migrations.py Remove sqlalchemy-migrate 2023-03-21 13:59:26 -04:00
test_models.py Update import of declarative_base() 2021-08-10 16:53:47 +01:00
test_options.py Fix default value for wsrep_sync_wait option 2023-01-18 00:31:22 +00:00
test_provision.py Get test suite to full pass with SQLAlchemy 2.0 2023-04-06 14:54:40 +01:00
test_sqlalchemy.py Bump hacking (again) 2024-01-26 10:00:50 +09:00
test_types.py Remove the 'Session.autocommit' parameter 2022-02-08 14:46:42 +00:00
test_update_match.py Don't use the 'Row.keys()' method 2021-08-10 16:53:47 +01:00
test_utils.py Remove MySQL NDB Cluster Support 2023-07-20 11:16:22 +01:00