nova/nova/tests/unit/api/openstack/compute
Diana Clarke 110bb30d0f Replace N block_device_mapping queries with 1
The ExtendedVolumes post-processing extension used to do N
block_device_mapping queries (one query per instance in a 'nova list').
Instead, do one block_device_mapping query with an IN clause of
instance UUIDs.

Change-Id: I32a1bd0e05a7a938e531d00bedfab23a0bb68538
Partial-Bug: #1416132
Closes-Bug: #1359808
2015-11-12 12:02:05 -05:00
..
legacy_v2 Replaces contextlib.nested with test.nested 2015-10-08 23:13:30 +03:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
admin_only_action_common.py Use controller method in all admin actions tests 2015-03-09 09:39:27 +09:00
basic.py Remove last of the plugins/v3 from unit tests 2015-08-18 15:25:46 +08:00
dummy_schema.py Remove last of the plugins/v3 from unit tests 2015-08-18 15:25:46 +08:00
microversions.py Remove last of the plugins/v3 from unit tests 2015-08-18 15:25:46 +08:00
test_access_ips.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_admin_actions.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_admin_password.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_agents.py Remove unnecessary ValueError exception 2015-08-19 01:58:42 -07:00
test_aggregates.py Filter leading/trailing spaces for name field in v2.1 compat mode 2015-09-23 10:27:54 +01:00
test_api.py Add V2.1 API tests parity with V2 API tests 2015-08-13 16:00:24 +08:00
test_attach_interfaces.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_auth.py Test both NoAuthMiddleware and NoAuthMiddlewareV3 2015-09-17 12:38:16 +00:00
test_availability_zone.py api: deprecate the concept of extensions in v2.1 2015-08-27 13:16:09 +00:00
test_baremetal_nodes.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_block_device_mapping.py api: deprecate the concept of extensions in v2.1 2015-08-27 13:16:09 +00:00
test_block_device_mapping_v1.py api: deprecate the concept of extensions in v2.1 2015-08-27 13:16:09 +00:00
test_cells.py Filter leading/trailing spaces for name field in v2.1 compat mode 2015-09-23 10:27:54 +01:00
test_certificates.py Remove v3 references in unit test 'contrib' 2015-08-28 14:43:55 +00:00
test_cloudpipe.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_cloudpipe_update.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_config_drive.py api: deprecate the concept of extensions in v2.1 2015-08-27 13:16:09 +00:00
test_console_auth_tokens.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_console_output.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_consoles.py Move v2.1 code to the main compute directory - remove v3 step3 2015-08-13 09:58:47 +08:00
test_create_backup.py Filter leading/trailing spaces for name field in v2.1 compat mode 2015-09-23 10:27:54 +01:00
test_createserverext.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_deferred_delete.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_disk_config.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_evacuate.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_availability_zone.py Consolidate code to get the correct availability zone of an instance 2015-09-09 17:14:35 +02:00
test_extended_hypervisors.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_ips.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_ips_mac.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_rescue_with_image.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_server_attributes.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_status.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_virtual_interfaces_net.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_extended_volumes.py Replace N block_device_mapping queries with 1 2015-11-12 12:02:05 -05:00
test_extension_info.py Rename classes containing 'v3' to 'v21' 2015-08-18 15:25:46 +08:00
test_extensions.py Remove 'v3' from extension code 2015-09-08 14:00:03 +00:00
test_fixed_ips.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_flavor_access.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_flavor_disabled.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_flavor_manage.py Filter leading/trailing spaces for name field in v2.1 compat mode 2015-09-23 10:27:54 +01:00
test_flavor_rxtx.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_flavor_swap.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_flavorextradata.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_flavors.py Remove v3 references in unit test 'contrib' 2015-08-28 14:43:55 +00:00
test_flavors_extra_specs.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_floating_ip_dns.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_floating_ip_pools.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_floating_ips.py Replaces contextlib.nested with test.nested 2015-10-08 23:13:30 +03:00
test_floating_ips_bulk.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_fping.py Remove v3 references in unit test 'contrib' 2015-08-28 14:43:55 +00:00
test_hide_server_addresses.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_hosts.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_hypervisor_status.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_hypervisors.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_image_metadata.py Move v2.1 code to the main compute directory - remove v3 step3 2015-08-13 09:58:47 +08:00
test_image_size.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_images.py Remove v3 references in unit test 'contrib' 2015-08-28 14:43:55 +00:00
test_instance_actions.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_instance_usage_audit_log.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_keypairs.py Filter leading/trailing spaces for name field in v2.1 compat mode 2015-09-23 10:27:54 +01:00
test_limits.py Move v2.1 code to the main compute directory - remove v3 step3 2015-08-13 09:58:47 +08:00
test_lock_server.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_microversions.py Remove more 'v3' references from the code 2015-09-08 13:56:05 +00:00
test_migrate_server.py Fix incomplete error message of quota exceeded 2015-09-02 11:45:27 +08:00
test_migrations.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_multinic.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_multiple_create.py api: deprecate the concept of extensions in v2.1 2015-08-27 13:16:09 +00:00
test_networks.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_neutron_security_groups.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_pause_server.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_pci.py pci: Remove nova.pci.device module 2015-08-19 12:22:00 -04:00
test_plugin_framework.py Remove more 'v3' references from the code 2015-09-08 13:56:05 +00:00
test_quota_classes.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_quotas.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_remote_consoles.py The API unit tests for serial console use http instead of ws 2015-08-19 07:37:25 +00:00
test_rescue.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_scheduler_hints.py User APIRouterV21 instead of APIRouterV3 for v2.1 unittests 2015-09-15 14:18:27 +08:00
test_security_group_default_rules.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_security_groups.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_server_actions.py Merge "Fix collection of metadata for a snapshot of a volume-backed instance" 2015-08-30 01:32:56 +00:00
test_server_diagnostics.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_server_external_events.py Check unknown event name when create external server event 2015-09-10 15:43:40 +08:00
test_server_group_quotas.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_server_groups.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_server_metadata.py Rename classes containing 'v3' to 'v21' 2015-08-18 15:25:46 +08:00
test_server_password.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_server_reset_state.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_server_start_stop.py Improve error logs for start/stop of locked instance 2015-08-19 13:18:16 -06:00
test_server_usage.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_serversV21.py Merge "Catch 3 InvalidBDM related exc when boot instance" 2015-10-28 08:27:42 +00:00
test_services.py Catch invalid id input in service_delete 2015-08-26 14:59:39 +08:00
test_shelve.py Remove v3 references in unit test 'contrib' 2015-08-28 14:43:55 +00:00
test_simple_tenant_usage.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00
test_snapshots.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00
test_suspend_server.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_tenant_networks.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00
test_urlmap.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00
test_used_limits.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00
test_user_data.py api: deprecate the concept of extensions in v2.1 2015-08-27 13:16:09 +00:00
test_versions.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00
test_virtual_interfaces.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00
test_volumes.py Fix order of arguments in assertEqual 2015-09-22 04:43:55 -07:00