nova/nova/tests/functional
Chris Dent 10f8a9aa12 [placement] Require at least one resource class in allocation
If an allocation was made with an empty resources object, a 500 response
code would result. This change adjusts the schema to use minProperties
of 1 to say there must be at least one resource class and value pair in
the allocation. If there is not a 400 response is returned.

As this is fixing 500 response to a useful error, no microversion is
required. A previous gabbi file which demonstrated the problem has been
updated to demonstrate that the problem has been fixed.

Change-Id: I7d9c64c77586564fb3bdbe92c693bd2a1bc06f24
Closes-Bug: #1714072
2017-08-31 00:38:42 +00:00
..
api [placement] Require at least one resource class in allocation 2017-08-31 00:38:42 +00:00
api_sample_tests Merge "Cleanup unnecessary logic in os-volume_attachments controller code" 2017-08-28 21:27:19 +00:00
compute Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
db Add placeholder migrations for Pike backports 2017-08-28 13:24:09 -07:00
libvirt Merge "Bump minimum required libvirt/qemu versions for Pike" 2017-02-24 02:50:33 +00:00
notification_sample_tests Merge "Reduce (notification) test duplication" 2017-08-30 16:47:33 +00:00
regressions replace chance with filter scheduler in func tests 2017-08-16 14:42:51 +00:00
wsgi Support tag instances when boot(4/4) 2017-07-17 15:59:42 -04:00
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
api_paste_fixture.py Remove legacy v2 API functional tests 2016-05-04 18:17:23 +08:00
api_samples_test_base.py Provide a hint when _verify_response fails 2017-06-19 15:57:47 -04:00
integrated_helpers.py replace chance with filter scheduler in func tests 2017-08-16 14:42:51 +00:00
test_aggregates.py re-Allow adding computes with no ComputeNodes to aggregates 2017-05-25 10:56:29 -07:00
test_compute_mgr.py Stop using mox stubs in cast_as_call.py 2017-07-25 00:40:41 +00:00
test_images.py Add create image functional negative tests 2016-12-26 14:15:14 +09:00
test_instance_actions.py make microversion a client level construct for tests 2016-02-24 11:02:05 -05:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_list_servers_ip_filter.py replace chance with filter scheduler in func tests 2017-08-16 14:42:51 +00:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Remove unused logging import 2017-02-17 15:17:51 +07:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_server_group.py Scheduler calling the Placement API 2017-01-27 16:36:34 -08:00
test_servers.py Merge "Cleanup allocations in failed prep_resize" 2017-08-25 00:27:39 +00:00