]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add unit test cases for the capacity scheduler
authorJames Carey <jecarey@us.ibm.com>
Thu, 6 Aug 2015 04:11:27 +0000 (04:11 +0000)
committerJames Carey <jecarey@us.ibm.com>
Tue, 11 Aug 2015 18:00:43 +0000 (18:00 +0000)
commit39217183edd2bb7ac2b1fb0ac57071174ced76cd
treed45fa70989001c870029f4f0e8b1715884cb39b7
parent693ad7ce16a5fff34252ee7518a553f094a9356a
Add unit test cases for the capacity scheduler

Add unit tests for the capacity weigher for cases where the host
has 'infinite' or 'unknown' capacities.

Note that while the new test cases follow the correct parameter
ordering for assertEqual, the other test cases will be fixed
in a separate patch.

Change-Id: I5ab20443563c253b561f328aedca4fd2f62b8d47
cinder/tests/unit/scheduler/test_capacity_weigher.py