placement/objects/resource_provider.py missing test coverage for several methods

Bug #1805858 reported by Chris Dent on 2018-11-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Chris Dent

Bug Description

In the extracted placement, the coverage tests run both unit and functional tests. This is because so much of the functionality is tested by gabbi. In those runs we can see that a few methods in placement/objects/resource_provider.py are not reached. They are:

def _provider_aggregates
  http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3009

def _aggregates_associated_with_providers
  http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3385

def _shared_allocation_request_resources
  http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3398

Chris Dent (cdent) wrote :

Fixed in https://review.openstack.org/#/c/624460/ . Not sure why the association didn't happen.

Changed in nova:
assignee: nobody → Chris Dent (cdent)
status: Triaged → In Progress
Chris Dent (cdent) on 2019-03-04
Changed in nova:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers