commit 334905a753c660c5f02ec6c03c427ebbbaf4b89a
Author: Chris Dent <email address hidden>
Date: Wed Aug 30 20:19:31 2017 +0100
[placement] Add test for empty resources in allocation
If the resources object in an allocation request is an empty dict then
there will be a 500 deep in the belly of the AllocationList object
handling when it tries get a information. The patch demonstrates the bug
with a new gabbi test that verfies the 500. The next patch will fix it.
Change-Id: I5ab417e39044af63fb9acb57c48c087ecf1e6f04
Related-Bug: #1714072
(cherry picked from commit ad2d3fc0f806f46382fa3c0a95c2a5d003d40736)
Reviewed: https:/ /review. openstack. org/499615 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=334905a753c 660c5f02ec6c03c 427ebbbaf4b89a
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit 334905a753c660c 5f02ec6c03c427e bbbaf4b89a
Author: Chris Dent <email address hidden>
Date: Wed Aug 30 20:19:31 2017 +0100
[placement] Add test for empty resources in allocation
If the resources object in an allocation request is an empty dict then
there will be a 500 deep in the belly of the AllocationList object
handling when it tries get a information. The patch demonstrates the bug
with a new gabbi test that verfies the 500. The next patch will fix it.
Change-Id: I5ab417e39044af 63fb9acb57c48c0 87ecf1e6f04 382fa3c0a95c2a5 d003d40736)
Related-Bug: #1714072
(cherry picked from commit ad2d3fc0f806f46