nova/nova/tests/unit/api/openstack
leizhang 7c01dd1a65 Improve check capacity sql
During a benchmark on allocation creation, I found checking allocations
capacity occupied a great amount of time when allocation table is fairly
big. Add a check on resource provider id to reduce allocation records to
be joined with resource providers and inventories.

Change-Id: Ic36809fa7161c2aa07a42669b44046993e5db058
2018-04-19 21:10:55 +08:00
..
compute Merge "List instances performace optimization" 2018-04-16 19:46:30 +00:00
placement Improve check capacity sql 2018-04-19 21:10:55 +08:00
__init__.py
common.py [python3] Webob request body should be bytes 2015-12-28 13:51:29 -05:00
fakes.py Add microversion to support extra_specs in flavor API. 2018-04-11 17:47:57 +08:00
test_api_version_request.py Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
test_auth.py Noauth should also use request_id from compute_req_id.py 2018-04-04 14:21:01 -04:00
test_common.py Fix TypeError of _get_project_id when project_id is None 2017-11-21 22:21:12 -05:00
test_faults.py [Py34] api.openstack.test_faults.TestFaultWrapper 2015-12-10 20:56:42 +00:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_mapper.py [Py34] Enable api.openstack.test_mapper unit test 2015-10-05 18:59:28 +03:00
test_requestlog.py log test: use fixtures.StandardLogging in setUp 2018-01-04 10:38:49 +08:00
test_wsgi.py Merge ResourceV21 obj into Resource obj 2017-12-21 19:33:35 +08:00