nova/nova/tests/functional/db
Surya Seetharaman 5c6c816d8c Modify InstanceMappingList.get_not_deleted_by_cell_and_project()
1) Change it to accommodate querying it for 'None' project_ids
   in the "--all-tenats" case.
2) If the online data migration for populating queued_for_delete
   has not been run for some reason, the the values could be NULL
   in the database for instance_mapping.queued_for_delete. Under
   such circumstances, we assume that such mappings with NULL
   queued_for_delete have *not* being queued_for_deletion.

Related to blueprint handling-down-cell

Change-Id: I80a65bc026e26a272a9dc041b27f9839511db765
2019-02-08 16:28:28 -05:00
..
api Use oslo_db.sqlalchemy.test_fixtures 2018-12-25 02:39:48 +00:00
__init__.py Add second migrate_repo for cells v2 database migrations 2015-03-03 15:41:40 -05:00
test_aggregate.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_aggregate_model.py Add aggregates tables to the API db. 2016-06-01 12:00:56 -05:00
test_archive.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_build_request.py Exclude build request marker from server listing 2018-12-19 16:29:27 -05:00
test_cell_mapping.py Address feedback from instance_list smart-cell behavior 2018-05-10 09:59:36 -07:00
test_compute_node.py Add compute_node ratio online data migration script 2018-12-05 11:36:23 -05:00
test_connection_switch.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_console_auth_token.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_flavor.py Remove old flavor_get_all db api method 2018-02-14 15:53:18 -05:00
test_flavor_model.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_host_mapping.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_instance.py Filter out instances without a host when populating AZ 2018-08-21 09:44:39 -04:00
test_instance_group.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_instance_mapping.py Modify InstanceMappingList.get_not_deleted_by_cell_and_project() 2019-02-08 16:28:28 -05:00
test_keypair.py Cleanup some redundant USES_DB_SELF usage 2016-09-26 15:47:16 -04:00
test_quota.py Make _instances_cores_ram_count() be smart about cells 2018-11-13 03:35:33 -05:00
test_quota_model.py Add quota related tables to the api database. 2016-10-12 07:40:00 +00:00
test_quotas.py Add online migration to move quotas to API database 2017-07-24 18:36:46 -04:00
test_request_spec.py Drop request spec migration code 2018-12-17 13:54:48 -05:00
test_security_group.py Add SecurityGroupList.get_counts() 2017-06-19 21:51:46 +00:00
test_virtual_interface.py Add fill_virtual_interface_list online_data_migration script 2019-01-30 10:03:19 +00:00