nova/nova/tests/functional/api/openstack/placement/gabbits
Chris Dent f974e3c356 [placement] avoid case issues microversions in gabbits
If a gabbi file sets a default microversion by setting a header
'OpenStack-API-Version' with a value like 'placement latest' and then
later overrides that in an individual test with a header of
'openstack-api-version' the difference in case can lead to failure.

In the best case the failure is consistent.

In the worst case it can sometimes work, because the header shows up
twice in the request, and the last header wins, order in the headers
and the resulting list dependent on the vagrancies of python ordering.

The solution is to always use the same case, so this change updates
all use to be lowercase, to establish a precedent that future people
will be able to use as an example.

Note that gabbi is case sensitive here in part because of the
implementation but also because it provides the control and possibility
to test exactly this problem.

Change-Id: I1e89e231cf0d46d211d360cda091b33520f85027
Closes-Bug: #1728934
2017-10-31 12:54:17 +00:00
..
aggregate.yaml Placement api: set custom json_error_formatter in aggregate and usage 2017-02-13 18:34:10 +00:00
allocation-bad-class.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
allocation-candidates.yaml [placement] Confirm that empty resources query causes 400 2017-10-12 15:29:38 +01:00
allocations-1-8.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
allocations-bug-1714072.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
allocations.yaml [placement] correct error on bad resource class in allocation 2017-09-09 02:47:30 +01:00
basic-http.yaml [placement] Allow PUT and POST without bodies 2017-04-06 10:45:06 +00:00
confirm-auth.yaml Add initial framing of placement API 2016-07-29 10:31:36 +00:00
cors.yaml Add rudimentary CORS support to placement API 2017-01-16 12:04:24 +00:00
inventory.yaml [placement] Increase test coverage 2017-06-12 14:07:32 +00:00
microversion.yaml Include /resource_providers/uuid/allocations link 2017-10-23 14:08:05 -05:00
non-cors.yaml Add rudimentary CORS support to placement API 2017-01-16 12:04:24 +00:00
resource-class-in-use.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
resource-classes-1-6.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
resource-classes-1-7.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
resource-classes.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
resource-provider-aggregates.yaml fix typos 2017-04-19 03:36:04 -07:00
resource-provider-duplication.yaml [placement] Disambiguate resource provider conflict message 2017-06-08 09:57:38 +00:00
resource-provider-links.yaml Include /resource_providers/uuid/allocations link 2017-10-23 14:08:05 -05:00
resource-provider-resources-query.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
resource-provider.yaml Include /resource_providers/uuid/allocations link 2017-10-23 14:08:05 -05:00
shared-resources.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
traits.yaml [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
unicode.yaml Remove invalid URL in gabbi tests 2017-01-17 21:10:45 +00:00
usage.yaml placement: Add GET /usages to placement API 2017-06-15 18:23:37 +00:00
with-allocations.yaml Fix 409 handling in report client when deleting inventory 2017-08-01 17:58:29 -04:00