nova/nova/tests/unit/db
John Garbutt df15e467b6 db: retry on deadlocks while adding an instance
We are hitting deadlocks in the gate when we are inserting the new
instance_extra row into the DB.

We should follow up this fix and look at way to avoid the deadlock
happening rather than retrying it. It currently doesn't happen too
often, so this should be enough to stop the problem while we work on a
better fix.

Closes-Bug: #1480305

Change-Id: Iba218bf28c7d1e6040c551fe836d6fa5e5e45f4d
2016-09-08 16:06:31 +00:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_db_api.py db: retry on deadlocks while adding an instance 2016-09-08 16:06:31 +00:00
test_migration_utils.py Provide working SQLA_VERSION attribute 2015-09-04 17:55:20 +01:00
test_migrations.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00
test_models.py Test that new tables don't use soft deletes 2016-02-04 09:21:31 -05:00
test_sqlalchemy_migration.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00