nova/nova/tests/unit/db
Matt Riedemann 1b6f48354b Delete instance_id_mappings record in instance_destroy
The instance_create DB API creates an instance_id_mappings record
but instance_destroy was not cleaning it up when the instance is
deleted; this adds that delete code. Otherwise those records
never get moved to shadow tables so you can't archive and purge them.

Change-Id: Idfe52d3c2f987b9aac551f013a0990423d87fad3
Closes-Bug: #1786298
(cherry picked from commit 8a6b57cf74)
(cherry picked from commit 6186996c80)
2019-04-05 15:38:05 +01:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_db_api.py Delete instance_id_mappings record in instance_destroy 2019-04-05 15:38:05 +01:00
test_migration_utils.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-07-25 10:45:03 +05:30
test_migrations.py Add index(instance_uuid, updated_at) on instance_actions table 2018-01-22 01:34:20 +00: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 Add Flavor.description attribute 2017-11-05 01:24:01 -05:00