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

Bug #1805858 reported by Chris Dent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
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

Revision history for this message
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)
Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.