deb-cinder/cinder/tests/unit/scheduler
Michał Dulko 72a1c5dfa2 Fix creating typeless volumes with Mitaka's c-sch
In Mitaka as a workaround for creating volumes without volume type c-api
was sending an empty dictionary as request_spec['volume_type'] in
create_volume() RPC cast to scheduler. This changed in Newton and we're
handling this situation directly in scheduler, but when running Newton's
c-api with Mitaka's c-sch we should mimic older behavior. This patch
implements that.

Change-Id: I3dbb1934f3d8e68fef49f56155cbf59bc5fadc3a
Closes-Bug: 1619008
(cherry picked from commit 91bdf9de4c)
2016-09-22 12:04:37 +00:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hosts.py Remove six.iter* 2016-06-28 23:23:10 -04:00
fakes.py Fix InstanceLocalityFilter scheduler filter 2015-11-18 15:42:13 +02:00
test_allocated_capacity_weigher.py Removed RPC topic config options 2016-08-29 11:16:53 +05:30
test_base_filter.py Replace use of mox with mock in test_base_filter 2016-07-07 14:04:00 +03:00
test_capacity_weigher.py Fix CapacityWeiger to accept None volume type 2016-09-02 11:56:55 +02:00
test_chance_weigher.py Replace xrange() with six.moves.range() 2015-06-16 10:46:40 +02:00
test_filter_scheduler.py Fix volume creation with no volume type 2016-08-10 13:40:27 -04:00
test_goodness_weigher.py Add missing unit test for goodness weigher 2015-06-02 18:59:02 +05:30
test_host_filters.py Fix CapacityFilter to accept None volume type 2016-09-01 13:29:04 +02:00
test_host_manager.py Removed RPC topic config options 2016-08-29 11:16:53 +05:30
test_rpcapi.py Fix creating typeless volumes with Mitaka's c-sch 2016-09-22 12:04:37 +00:00
test_scheduler.py Merge "Fix quota rollback on retype failure" 2016-09-07 10:13:26 +00:00
test_scheduler_options.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_stochastic_weight_handler.py Add stochastic weight handler to scheduler 2016-08-02 20:16:01 +00:00
test_volume_number_weigher.py Removed RPC topic config options 2016-08-29 11:16:53 +05:30
test_weights.py Move oslo-incubator's scheduler module to cinder 2015-11-24 15:49:31 +01:00